thien94 / orb_slam3_ros

A ROS implementation of ORB_SLAM3
GNU General Public License v3.0
261 stars 81 forks source link

make error when "catkin build" process #10

Open NakashimaTakeshi opened 1 year ago

NakashimaTakeshi commented 1 year ago

Hello, I am trying to set up orb_slam3_ros following the instructions in README.md, but I encounter the error below while executing "catkin build" in the installation process.

----------------------- log message -----------------------

make[2]: No rule to make target '/root/reproduce_orb-slam/catkin_ws/src/orb_slam3_ros/orb_slam3/Thirdparty/DBoW2/lib/libDBoW2.so', needed by '/root/reproduce_orb-slam/catkin_ws/src/orb_slam3_ros/orb_slam3/lib/liborb_slam3_ros.so'. Stop. make[2]: Waiting for unfinished jobs....

make[1]: [CMakeFiles/Makefile2:300: CMakeFiles/orb_slam3_ros.dir/all] Error 2 make: [Makefile:141: all] Error 2 ----------------------- end -----------------------

I really appreciate any help you can provide.

thien94 commented 1 year ago

Hi @NakashimaTakeshi , thanks for testing out the package. It seems for some reason the library Thirdparty/DBoW2/lib/libDBoW2.so is not getting built.

Can you try building again with catkin build -j1? Hopefully the error message will be more clear with this command.

NakashimaTakeshi commented 1 year ago

Thank you for your advice @thien94. I tried catkin build -j1 instead of catkin build. But, the error seems to be almost the same.

I have attached the log file when executing catkin build -j1. It is quite verbose, but I hope it will help you get my situation more correct. build.make.000.log