Closed YznMur closed 6 months ago
@YznMur Yes, you should use the G2O version shipped with Orb slam. I think they modified some parts, so it might not be compatible.
@laxnpander sorry I am a bit confused
should I clone this orbslam2 version (uninstallable) https://github.com/raulmur/ORB_SLAM2
or your one (installable - but G2O shows the error) https://github.com/laxnpander/ORB_SLAM2
?
@laxnpander still waiting for your response. thanks.
That is a long waiting time. You should install the one from my GitHub.
Reopen if necessary.
Hi @laxnpander . I am using your modified orbslam2 and orbslam3 from the start. still getting the same error:
[ 6%] Building CXX object CMakeFiles/ORB_SLAM3_g2o.dir/g2o/types/types_sba.cpp.o
[ 6%] Building CXX object CMakeFiles/ORB_SLAM3_g2o.dir/g2o/types/types_six_dof_expmap.cpp.o
[ 9%] Building CXX object CMakeFiles/ORB_SLAM3_g2o.dir/g2o/types/types_seven_dof_expmap.cpp.o
[ 12%] Building CXX object CMakeFiles/ORB_SLAM3_g2o.dir/g2o/core/hyper_graph_action.cpp.o
In file included from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37:0,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.cpp:27:
/home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory
#include "../../config.h"
^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37:0,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/types_six_dof_expmap.h:37,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/types_six_dof_expmap.cpp:27:
/home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory
#include "../../config.h"
^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37:0,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/types_sba.h:30,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/types_sba.cpp:27:
/home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory
#include "../../config.h"
^~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/core/optimizable_graph.h:37:0,
from /home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/core/hyper_graph_action.cpp:28:
/home/trainer/ORB_SLAM3/Thirdparty/g2o/g2o/core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory
#include "../../config.h"
^~~~~~~~~~~~~~~~
Any ideas? Thanks in advance
Hi, I am trying to change SLAM method to ORB_SLAM2, I pulled your installable version: https://github.com/laxnpander/ORB_SLAM2 and tried to build it with ORB_SLAM2/build.sh and faced this error:
Any ideas? by the way I didnt install g2o from
OpenREALM/tools/install_deps.sh
, should I? Thanks