Fresh install,W10,DL Cwinrequired packages,test build failed by system

Just installed...multiple times..cant get it to work. When i open a new project i get this error..

 

 

Error:Configuration MinSizeRel
The C++ compiler "/usr/bin/c++.exe" is not able to compile a simple test program.
It fails with the following output:
 Change Dir: /cygdrive/c/Users/satin/.CLion2016.2/system/cmake/generated/untitled-9502414e/9502414e/MinSizeRel/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make.exe" "cmTC_39edb/fast"
/usr/bin/make -f CMakeFiles/cmTC_39edb.dir/build.make CMakeFiles/cmTC_39edb.dir/build
make[1]: Entering directory '/cygdrive/c/Users/satin/.CLion2016.2/system/cmake/generated/untitled-9502414e/9502414e/MinSizeRel/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_39edb.dir/testCXXCompiler.cxx.o
/usr/bin/c++.exe -o CMakeFiles/cmTC_39edb.dir/testCXXCompiler.cxx.o -c /cygdrive/c/Users/satin/.CLion2016.2/system/cmake/generated/untitled-9502414e/9502414e/MinSizeRel/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_39edb.exe
/cygdrive/c/Users/satin/.CLion2016.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_39edb.dir/link.txt --verbose=1
/usr/bin/c++.exe -Wl,--enable-auto-import CMakeFiles/cmTC_39edb.dir/testCXXCompiler.cxx.o -o cmTC_39edb.exe -Wl,--out-implib,libcmTC_39edb.dll.a -Wl,--major-image-version,0,--minor-image-version,0
c++: fatal error: -fuse-linker-plugin, but cyglto_plugin.dll not found
compilation terminated.
make[1]: *** [CMakeFiles/cmTC_39edb.dir/build.make:98: cmTC_39edb.exe] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/satin/.CLion2016.2/system/cmake/generated/untitled-9502414e/9502414e/MinSizeRel/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_39edb/fast] Error 2
CMake will not be able to correctly generate this project.

2 comments
Comment actions Permalink

Hi,

Could you please check the Cygwin version and update if needed: https://youtrack.jetbrains.com/issue/CPP-7367#comment=27-1557626

0
Comment actions Permalink

i fixed by unsintalling cywin,and reinstalling it. Instructions were not specific and their seems to be having a conflict since i DL other packages associated with Gcc/Core and once removed and reinstalled with bare minium it worked fine.

0

Please sign in to leave a comment.