对于编译过程中的警告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 文件第...
Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 解决方案 在Examples/ROS/ORB_SLAM2/CMakeLists.txt文件中添加编译信息-lboost_systema set(LIBS${OpenCV_LIBS}${EIGEN3_LIBS}${Pangolin_LIBRARIES}${PROJECT_SOURCE_DIR}/../../../Thirdparty/DBoW2/lib/libDBoW2.so${PROJEC...
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/Stereo.dir/all' failed make[1]: *** [CMakeFiles/Stereo.dir/all] Error 2 make[2]: *** No rule to make target '/opt/ros/kinetic/lib/libopencv_calib3d3.so.3.2.0', needed by '../MonoAR'. Stop. CMakeFiles/Makefile2:820...
../lib/libORB_SLAM2.so:对‘cv::Exception::Exception(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocat...
安装中出现的报错问题以及解决方案无法找到lib报错信息 {代码...} 解决方案在Examples/ROS/ORB_SLAM2/CMakeLists.txt文件中添加编译信息-lboost_systema {代...
解决方案 在Examples/ROS/ORB_SLAM2/CMakeLists.txt文件中添加编译信息-lboost_systema cmake set(LIBS ${OpenCV_LIBS} ${EIGEN3_LIBS} ${Pangolin_LIBRARIES} ${PROJECT_SOURCE_DIR}/../../../Thirdparty/DBoW2/lib/libDBoW2.so ${PROJECT_SOURCE_DIR}/../../../Thirdparty/g2o/lib/libg2o.so $...
然后就按照要求把原来的Eigen删了,装的是Eigen3.3.7,又卸载了原来的opencv装了opencv3.4.5,又装了pangolin v6 装完后报出这个错误,人都嘛了,一开始以为是因为给Eigen的原因,想着手动给CMakeLists中设置Eigen的路径,还是没有用... 想着时是不是自己源代码有问题,跑到ORB SLAM2的github中下了一波源代码,还是...