Closed rnunziata closed 7 years ago
I got around this error by downloading libuvc and adding it to CMakeList.txt in InfinitTAM. Unfortunatly this resulted in another compile error:
add_subdirectory("libuvc")
error:
[ 67%] Linking CXX executable InfiniTAM_cli
/usr/bin/ld: ITMLib/libITMLib.a(ITMMainEngine.cpp.o): undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
and
[ 71%] Building CXX object CMakeFiles/DynSLAMGUI.dir/src/DynSLAM/Direct/image_alignment/device/cpu/dirImgAlignCPU.cpp.o
/home/rjn/opencv3-p3-code/tracking_and_slam/newstuff/DynSLAM/src/DynSLAM/Direct/image_alignment/device/cpu/dirImgAlignCPU.cpp:4:26: fatal error: sophus/se3.hpp: No such file or directory
compilation terminated.
CMakeFiles/DynSLAM.dir/build.make:302: recipe for target 'CMakeFiles/DynSLAM.dir/src/DynSLAM/Direct/image_alignment/device/cpu/dirImgAlignCPU.cpp.o' failed
make[2]: *** [CMakeFiles/DynSLAM.dir/src/DynSLAM/Direct/image_alignment/device/cpu/dirImgAlignCPU.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Any idea how to solve this compile error: