ORBSLAM2_with_pointcloud_map
ORBSLAM2_with_pointcloud_map copied to clipboard
ORBSLAM2 build error
Hi all,
I successfully built the g20_with_orbslam2. and then I tried to built ORB_SLAM2_modified but I got the following errors?
So, what should I do?
[ 4%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/System.cc.o In file included from /home/mehmet/orbslam2_modified/ORB_SLAM2_modified/include/LocalMapping.h:26:0, from /home/mehmet/orbslam2_modified/ORB_SLAM2_modified/include/Tracking.h:31, from /home/mehmet/orbslam2_modified/ORB_SLAM2_modified/include/System.h:29, from /home/mehmet/orbslam2_modified/ORB_SLAM2_modified/src/System.cc:23: /home/mehmet/orbslam2_modified/ORB_SLAM2_modified/include/LoopClosing.h:34:51: fatal error: g2o/types/sim3/types_seven_dof_expmap.h: No such file or directory #include <g2o/types/sim3/types_seven_dof_expmap.h> ^ compilation terminated. make[2]: *** [CMakeFiles/ORB_SLAM2.dir/src/System.cc.o] Error 1 make[1]: *** [CMakeFiles/ORB_SLAM2.dir/all] Error 2 make: *** [all] Error 2
I have the same error with you. Have you solved it?
when you finished make of g2o, you have to use "make install " to install it and you can do the SLAMModifed using build.
Go to the dir g2o_with_orbslam2/build
$ sudo make install
It works!