dfranx/SHADERed

compilation failed error: unable to find library

Martinfx opened this issue · 0 comments

HI,
i use FreeBSD 13.1 and i tried compile this project with linker problems
I have installed minizip,sdl2
Bad order command maybe ?

axfx@ /m/S/c/SHADERed (master)> gmake
[  3%] Built target cppdap
[  6%] Built target SpvGenTwoLib
[  9%] Built target SpvGenTwoCommon
[  9%] Built target IrrXML
[ 62%] Built target assimp
[ 62%] Built target GenericCodeGen
[ 62%] Built target OGLCompiler
[ 63%] Built target glslang-build-info
[ 64%] Built target OSDependent
[ 73%] Built target MachineIndependent
[ 73%] Built target glslang
[ 75%] Built target SPIRV
[ 78%] Built target SPIRVVM
[ 78%] Linking CXX executable bin/SHADERed
ld: error: unable to find library -lSDL2
ld: error: unable to find library -lstdc++fs
ld: error: unable to find library -lminizip
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [CMakeFiles/SHADERed.dir/build.make:1540: bin/SHADERed] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:389: CMakeFiles/SHADERed.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2