Open AmazingDuDuDu opened 5 months ago
I am having the same issue. Were you able to solve it? Thank you.
Did you download all necessary dependencies? That would be Eigen, Pangolin, g2o and DBoW2 (git clone). These also have some dependencies, like libboost-serialization-dev and libssl-dev (apt install).
Also, for CMakeLists.txt, make sure to type the following before building ORB_SLAM3:
sed -i 's/++11/++14/g' CMakeLists.txt
chmod +x build.sh
./build.sh
This will replace C++11 with C++14 as standard version.
if we download only the most recent versions of all these dependencies, could some things be deprecated? I get tons of warnings after doing this?
I've downloaded the newest versions of all dependencies very recently (a week ago), and only had trouble with the c++ version, which can be changed with the sed command I've commented above. So I don't think this should be the case.
Also, when building again, make sure to delete the old build directory and create a new one as it could read cache. If nothing works, replace the c++ to version 14 in all other CMakeLists and build those anew. All need to be built correctly before ORB_SLAM3 cab be built.
Hope this helps.
I'm trying to run
./build.sh
to build the Thirdparty libraries and ORB-SLAM3 and get this error.I have run the commands in build.sh one by one. The error occurs when I run
make -j4
to build ORB-SLAM3.Does anyone know how to solve it? Thanks in advance.