-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Description
I'm not sure what's happening, but after doing cmake in the build dir, and executing make -j4 it gave me:
make -j4
Scanning dependencies of target eyeLike
[ 20%] Building CXX object src/CMakeFiles/eyeLike.dir/findEyeCenter.cpp.o
[ 40%] Building CXX object src/CMakeFiles/eyeLike.dir/findEyeCorner.cpp.o
[ 60%] Building CXX object src/CMakeFiles/eyeLike.dir/main.cpp.o
[ 80%] Building CXX object src/CMakeFiles/eyeLike.dir/helpers.cpp.o
[100%] Linking CXX executable ../bin/eyeLike
//usr/lib/x86_64-linux-gnu/libSM.so.6: undefined reference to `uuid_unparse_lower@UUID_1.0'
//usr/lib/x86_64-linux-gnu/libSM.so.6: undefined reference to `uuid_generate@UUID_1.0'
collect2: error: ld returned 1 exit status
src/CMakeFiles/eyeLike.dir/build.make:212: recipe for target 'bin/eyeLike' failed
make[2]: *** [bin/eyeLike] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/eyeLike.dir/all' failed
make[1]: *** [src/CMakeFiles/eyeLike.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Then, I tried again with make (and make -j4 again) and it gave me:
make -j4
[ 20%] Linking CXX executable ../bin/eyeLike
//usr/lib/x86_64-linux-gnu/libSM.so.6: undefined reference to `uuid_unparse_lower@UUID_1.0'
//usr/lib/x86_64-linux-gnu/libSM.so.6: undefined reference to `uuid_generate@UUID_1.0'
collect2: error: ld returned 1 exit status
src/CMakeFiles/eyeLike.dir/build.make:212: recipe for target 'bin/eyeLike' failed
make[2]: *** [bin/eyeLike] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/eyeLike.dir/all' failed
make[1]: *** [src/CMakeFiles/eyeLike.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Haven't been able to solve the problem with googling. Also tried doing make clean and rebuilding with cmake, same problem twice.
Metadata
Metadata
Assignees
Labels
No labels