Open valdemar-const opened 2 years ago
There is no LIBLD library. How can I add it?
C:\msys64\mingw64\bin\cmake.exe --build _build [ 50%] Linking C executable ..\..\bin\myexec.exe D:/programs/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldl collect2.exe: error: ld returned 1 exit status build\cmake\CMakeFiles\myexec.dir\build.make:99: recipe for target 'bin/myexec.exe' failed mingw32-make.exe[2]: *** [bin/myexec.exe] Error 1 CMakeFiles\Makefile2:96: recipe for target 'build/cmake/CMakeFiles/myexec.dir/all' failed mingw32-make.exe[1]: *** [build/cmake/CMakeFiles/myexec.dir/all] Error 2 Makefile:89: recipe for target 'all' failed mingw32-make.exe: *** [all] Error 2
dlfcn-win32 google it :)
There is no LIBLD library. How can I add it?