Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation failed error: unable to find library #295

Open
Martinfx opened this issue Jul 16, 2022 · 0 comments
Open

compilation failed error: unable to find library #295

Martinfx opened this issue Jul 16, 2022 · 0 comments

Comments

@Martinfx
Copy link

Martinfx commented Jul 16, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant