You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMakeFiles/calibrationtoolkit.dir/CalibrationToolkit/calibrationtoolkit.cpp.o: In function nlopt::opt::get_errmsg() const': /usr/local/include/nlopt.hpp:516: undefined reference to nlopt_get_errmsg'
#10
Open
lilangyi opened this issue
Dec 19, 2020
· 1 comment
CMakeFiles/calibrationtoolkit.dir/CalibrationToolkit/calibrationtoolkit.cpp.o: In function
nlopt::opt::get_errmsg() const': /usr/local/include/nlopt.hpp:516: undefined reference to
nlopt_get_errmsg'/usr/local/include/nlopt.hpp:516: undefined reference to
nlopt_get_errmsg' /usr/local/include/nlopt.hpp:516: undefined reference to
nlopt_get_errmsg'collect2: error: ld returned 1 exit status
calibration_camera_lidar/ls_calibration/calibration_camera_lidar/CMakeFiles/calibrationtoolkit.dir/build.make:425: recipe for target '/home/lee/calibration/devel/lib/libcalibrationtoolkit.so' failed
make[2]: *** [/home/lee/calibration/devel/lib/libcalibrationtoolkit.so] Error 1
CMakeFiles/Makefile2:5447: recipe for target 'calibration_camera_lidar/ls_calibration/calibration_camera_lidar/CMakeFiles/calibrationtoolkit.dir/all' failed
make[1]: *** [calibration_camera_lidar/ls_calibration/calibration_camera_lidar/CMakeFiles/calibrationtoolkit.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j48 -l48" failed
我已经安装了nlopt,安装位置在根目录下,报了这个错该如何解决呢?难道是因为nlopt要安装在包的目录下吗?
The text was updated successfully, but these errors were encountered: