HKUST-Aerial-Robotics / VINS-Mono

A Robust and Versatile Monocular Visual-Inertial State Estimator
GNU General Public License v3.0
5.02k stars 2.1k forks source link

catkin_make error #176

Open caoyifeng001 opened 6 years ago

caoyifeng001 commented 6 years ago

Linking CXX shared library /home/cbin/mynt_ws/devel/lib/libcamera_model.so /usr/bin/ld: /usr/local/lib/libceres.a(loss_function.cc.o): relocation R_X86_64_32S against `_ZTVN5ceres12ComposedLossE' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libceres.a: error adding symbols: 错误的值 collect2: error: ld returned 1 exit status make[2]: [/home/cbin/mynt_ws/devel/lib/libcamera_model.so] 错误 1 make[1]: [MYNT-EYE-VINS-Sample-mynteye/camera_model/CMakeFiles/camera_model.dir/all] 错误 2 make: *** [all] 错误 2

hanlinniu commented 3 years ago

Have you solved this problem mate?