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

/usr/bin/ld: cannot find -lseeds_revised #10

Open
fbi0817 opened this issue Dec 25, 2018 · 1 comment
Open

/usr/bin/ld: cannot find -lseeds_revised #10

fbi0817 opened this issue Dec 25, 2018 · 1 comment

Comments

@fbi0817
Copy link

fbi0817 commented Dec 25, 2018

Hi, I have followed the instruction of downloading the source code and everything is ok before "make". The error shows:

$make
Scanning dependencies of target reseeds
[ 1%] Building CXX object lib_seeds_revised/lib/CMakeFiles/reseeds.dir/SeedsRevised.cpp.o
[ 2%] Building CXX object lib_seeds_revised/lib/CMakeFiles/reseeds.dir/Tools.cpp.o
[ 4%] Linking CXX static library ../../../lib/libreseeds.a
[ 4%] Built target reseeds
Scanning dependencies of target reseeds_cli
[ 5%] Building CXX object lib_seeds_revised/cli/CMakeFiles/reseeds_cli.dir/main.cpp.o
[ 7%] Linking CXX executable ../../../bin/reseeds_cli
[ 7%] Built target reseeds_cli
Scanning dependencies of target ers
[ 8%] Building CXX object lib_ers/CMakeFiles/ers.dir/MERCCInput.cpp.o
[ 10%] Building CXX object lib_ers/CMakeFiles/ers.dir/MERCDisjointSet.cpp.o
[ 11%] Building CXX object lib_ers/CMakeFiles/ers.dir/MERCFunctions.cpp.o
[ 13%] Building CXX object lib_ers/CMakeFiles/ers.dir/MERCLazyGreedy.cpp.o
[ 14%] Building CXX object lib_ers/CMakeFiles/ers.dir/MERCOutput.cpp.o
[ 15%] Linking CXX static library ../../lib/libers.a
[ 15%] Built target ers
Scanning dependencies of target ers_cli
[ 17%] Building CXX object ers_cli/CMakeFiles/ers_cli.dir/main.cpp.o
[ 18%] Linking CXX executable ../../bin/ers_cli
/usr/bin/ld: cannot find -lseeds_revised
collect2: error: ld returned 1 exit status
ers_cli/CMakeFiles/ers_cli.dir/build.make:127: recipe for target '../bin/ers_cli' failed
make[2]: *** [../bin/ers_cli] Error 1
CMakeFiles/Makefile2:271: recipe for target 'ers_cli/CMakeFiles/ers_cli.dir/all' failed
make[1]: *** [ers_cli/CMakeFiles/ers_cli.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I have no idea how to solve it...

@davidstutz
Copy link
Owner

Did you make sure to clone the repository recursively and that lib_seeds_revised is built correctly?

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

2 participants