对于编译过程中的警告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 文件第...
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: recipe for target 'CMakeFiles/MonoAR.dir/all' failed make[1]: *** [CMake...
一开始是报的这个错误 然后就按照要求把原来的Eigen删了,装的是Eigen3.3.7,又卸载了原来的opencv装了opencv3.4.5,又装了pangolin v6 装完后报出这个错误,人都嘛了,一开始以为是因为给Eigen的原因,想着手动给CMakeLists中设置Eigen的路径,还是没有用... 想着时是不是自己源代码有问题,跑到ORB SLAM2的github中...
../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...