对于编译过程中的警告EIGEN_DEPRECATED const unsigned int AlignedBit = 0x80;可以忽略,不影响正常编译 对于报错: /usr/include/c++/9/bits/stl_map.h:122:71: error: static assertion failed: std::map must have the same value_type as its allocator: 进入ORB_SLAM2/include/ 修改 LoopClosing.h 文件第...
collect2: error: ld returned 1 exit status CMakeFiles/ORB_SLAM2.dir/build.make:624: recipe for target '../lib/libORB_SLAM2.so' failed make[2]: *** [../lib/libORB_SLAM2.so] Error 1 CMakeFiles/Makefile2:252: recipe for target 'CMakeFiles/ORB_SLAM2.dir/all' failed make[1]:...
一开始是报的这个错误 然后就按照要求把原来的Eigen删了,装的是Eigen3.3.7,又卸载了原来的opencv装了opencv3.4.5,又装了pangolin v6 装完后报出这个错误,人都嘛了,一开始以为是因为给Eigen的原因,想着手动给CMakeLists中设置Eigen的路径,还是没有用... 想着时是不是自己源代码有问题,跑到ORB SLAM2的github中...
/opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_imgcodecs3.so.3.3.1: undefined reference to `TIFFSetErrorHandler@LIBTIFF_4.0' collect2: error: ld returned 1 exit status CMakeFiles/mono_euroc.dir/build.make:159: recipefortarget '../Examples/Monocular/mono_euroc' failed make[2]: *** [...
编译最新的ORB_SLAM2报错,error:0%]Builttargetrosbuild_precompilemake[2]:***Noruletomaketarget'/opt/ros/kinetic/lib/libopencv_calib3d3.so.3.2.0',neededby'../Mono'.Stop.CMakeFiles/Makefile2:718:recipefort
../lib/libORB_SLAM2.so:对‘cv::eigen(cv::_InputArray const&, cv::_OutputArray const&, cv::_OutputArray const&, int, int)’未定义的引用 ../lib/libORB_SLAM2.so:对‘cv::getTextSize(std::_cxx11::basic_string<char, std::char_traits, std::allocator > const&, int, double, int...
orbslam2 build 错误 Pangolin could not be found because dependency Eigen3 could not be found.,在find_package(Eigen3REQUIRED)后加NO_MUDULE,然后重建编译即可成功!
pointt1=std::chrono::monotonic_clock::now();#endif// Pass the image to the SLAM systemSLAM....
编译orbslam遇到的⼀些bug和错误解决⽅案1. error usleep not in this scope 解决⽅案:在你报错的那些⽂件⾥⾯加上#include<unistd> 2./usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.9: undefined reference to `TIFFSetWarningHandler@LIBTIFF_4.0'//usr/lib/x86_64-linux-gnu/libSM....
在编译过程中会出现如下报错 报错信息 需要我们在Examples/ROS/ORB_SLAM2目录下修改CMakeLists.txt文件,添加依赖库-lboost_system,再次进行编译,就正常了。 添加依赖库 ORB_SLAM2功能包使用 配置环境变量 exportROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:~/orb_slam2/ORB_SLAM2/Examples/ROSsource~/orb_slam2/ORB...