-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
[ 94%] Building CXX object src/CMakeFiles/saf.dir/utils/output_tracker.cpp.o
[ 97%] Building CXX object src/CMakeFiles/saf.dir/video/gst_video_capture.cpp.o
[ 97%] Building CXX object src/CMakeFiles/saf.dir/video/gst_video_encoder.cpp.o
[ 97%] Building CXX object src/CMakeFiles/saf.dir/saf.pb.cc.o
[100%] Linking CXX shared library libsaf.so
/usr/bin/ld: /usr/local/lib/libboost_filesystem.a(operations.o): relocation R_X86_64_PC32 against symbol `_ZTIN5boost10filesystem16filesystem_errorE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
src/CMakeFiles/saf.dir/build.make:826: recipe for target 'src/libsaf.so' failed
make[2]: *** [src/libsaf.so] Error 1
CMakeFiles/Makefile2:127: recipe for target 'src/CMakeFiles/saf.dir/all' failed
make[1]: *** [src/CMakeFiles/saf.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
I have a question that which version of boost the code use. The error each compilation meet seem that all come from boost. Anyone can give a advice, thanks a lot!
Metadata
Metadata
Assignees
Labels
No labels