[CMake] Cannot create shared lib under Windows, the error message is unreadable

Bill Hoffman bill.hoffman at kitware.com
Sun Oct 4 15:14:27 EDT 2009


michael kapelko wrote:
> I tried MSYS and it didn't work. The same error arises:
> 
> Linking CXX shared library libLightfeather.dll
> /bin/sh: C:/MinGW/bin/c++.exe: Bad file number
> make[2]: *** [libLightfeather.dll] Error 126
> make[1]: *** [CMakeFiles/Lightfeather.dir/all] Error 2
> make: *** [all] Error 2
> 
> I'm at a lost what to do.


What version of CMake are you using?

-Bill


More information about the CMake mailing list