I am running into compilation issue on ubuntu 20.4
Has the following error been fixed?
@ubuntu:~/tools/ORB_SLAM2/build$ make -j$(nproc)
Scanning dependencies of target ORB_SLAM2
[ 6%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o
[ 6%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/System.cc.o
[ 9%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/Tracking.cc.o
[ 12%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o
In file included from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37,
from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30,
from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34,
from /home/suvasis/tools/ORB_SLAM2/include/LoopClosing.h:34,
from /home/suvasis/tools/ORB_SLAM2/src/LoopClosing.cc:21:
/home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory
30 | #include "../../config.h"
| ^~~~
compilation terminated.
make[2]: [CMakeFiles/ORB_SLAM2.dir/build.make:102: CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o] Error 1
make[2]: Waiting for unfinished jobs....
In file included from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37,
from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30,
from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34,
from /home/suvasis/tools/ORB_SLAM2/include/LoopClosing.h:34,
from /home/suvasis/tools/ORB_SLAM2/include/LocalMapping.h:26,
from /home/suvasis/tools/ORB_SLAM2/src/LocalMapping.cc:21:
/home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory
30 | #include "../../config.h"
| ^~~~
compilation terminated.
In file included from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37,
from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30,
from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34,
from /home/suvasis/tools/ORB_SLAM2/include/LoopClosing.h:34,
from /home/suvasis/tools/ORB_SLAM2/include/LocalMapping.h:26,
from /home/suvasis/tools/ORB_SLAM2/include/System.h:33,
from /home/suvasis/tools/ORB_SLAM2/include/Viewer.h:28,
from /home/suvasis/tools/ORB_SLAM2/include/Tracking.h:28,
from /home/suvasis/tools/ORB_SLAM2/src/Tracking.cc:22:
/home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory
30 | #include "../../config.h"
| ^~~~
compilation terminated.
make[2]: [CMakeFiles/ORB_SLAM2.dir/build.make:89: CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o] Error 1
make[2]: [CMakeFiles/ORB_SLAM2.dir/build.make:76: CMakeFiles/ORB_SLAM2.dir/src/Tracking.cc.o] Error 1
In file included from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37,
from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30,
from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34,
from /home/suvasis/tools/ORB_SLAM2/include/LoopClosing.h:34,
from /home/suvasis/tools/ORB_SLAM2/include/LocalMapping.h:26,
from /home/suvasis/tools/ORB_SLAM2/include/Tracking.h:31,
from /home/suvasis/tools/ORB_SLAM2/include/System.h:29,
from /home/suvasis/tools/ORB_SLAM2/src/System.cc:23:
/home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory
30 | #include "../../config.h"
| ^~~~
compilation terminated.
make[2]: [CMakeFiles/ORB_SLAM2.dir/build.make:63: CMakeFiles/ORB_SLAM2.dir/src/System.cc.o] Error 1
make[1]: [CMakeFiles/Makefile2:250: CMakeFiles/ORB_SLAM2.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
I am running into compilation issue on ubuntu 20.4
Has the following error been fixed?
@ubuntu:~/tools/ORB_SLAM2/build$ make -j$(nproc) Scanning dependencies of target ORB_SLAM2 [ 6%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o [ 6%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/System.cc.o [ 9%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/Tracking.cc.o [ 12%] Building CXX object CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o In file included from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37, from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30, from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34, from /home/suvasis/tools/ORB_SLAM2/include/LoopClosing.h:34, from /home/suvasis/tools/ORB_SLAM2/src/LoopClosing.cc:21: /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory 30 | #include "../../config.h" | ^
~~~compilation terminated. make[2]: [CMakeFiles/ORB_SLAM2.dir/build.make:102: CMakeFiles/ORB_SLAM2.dir/src/LoopClosing.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... In file included from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37, from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30, from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34, from /home/suvasis/tools/ORB_SLAM2/include/LoopClosing.h:34, from /home/suvasis/tools/ORB_SLAM2/include/LocalMapping.h:26, from /home/suvasis/tools/ORB_SLAM2/src/LocalMapping.cc:21: /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory 30 | #include "../../config.h" | ^~~~compilation terminated. In file included from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37, from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30, from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34, from /home/suvasis/tools/ORB_SLAM2/include/LoopClosing.h:34, from /home/suvasis/tools/ORB_SLAM2/include/LocalMapping.h:26, from /home/suvasis/tools/ORB_SLAM2/include/System.h:33, from /home/suvasis/tools/ORB_SLAM2/include/Viewer.h:28, from /home/suvasis/tools/ORB_SLAM2/include/Tracking.h:28, from /home/suvasis/tools/ORB_SLAM2/src/Tracking.cc:22: /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory 30 | #include "../../config.h" | ^~~~compilation terminated. make[2]: [CMakeFiles/ORB_SLAM2.dir/build.make:89: CMakeFiles/ORB_SLAM2.dir/src/LocalMapping.cc.o] Error 1 make[2]: [CMakeFiles/ORB_SLAM2.dir/build.make:76: CMakeFiles/ORB_SLAM2.dir/src/Tracking.cc.o] Error 1 In file included from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/optimizable_graph.h:37, from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/base_vertex.h:30, from /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/types_seven_dof_expmap.h:34, from /home/suvasis/tools/ORB_SLAM2/include/LoopClosing.h:34, from /home/suvasis/tools/ORB_SLAM2/include/LocalMapping.h:26, from /home/suvasis/tools/ORB_SLAM2/include/Tracking.h:31, from /home/suvasis/tools/ORB_SLAM2/include/System.h:29, from /home/suvasis/tools/ORB_SLAM2/src/System.cc:23: /home/suvasis/tools/ORB_SLAM2/Thirdparty/g2o/g2o/types/../core/openmp_mutex.h:30:10: fatal error: ../../config.h: No such file or directory 30 | #include "../../config.h" | ^~~~compilation terminated. make[2]: [CMakeFiles/ORB_SLAM2.dir/build.make:63: CMakeFiles/ORB_SLAM2.dir/src/System.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:250: CMakeFiles/ORB_SLAM2.dir/all] Error 2 make: *** [Makefile:84: all] Error 2