You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following the build process and I get this build error and I can't figure out how to fix it:
`Starting >>> orbslam3
--- stderr: orbslam3
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/monocular/mono.cpp:7:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/monocular/monocular-slam-node.hpp:7:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
7 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/mono.dir/build.make:76: CMakeFiles/mono.dir/src/monocular/mono.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo-inertial/stereo-inertial.cpp:7:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo-inertial/stereo-inertial-node.hpp:8:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
8 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/stereo-inertial.dir/build.make:76: CMakeFiles/stereo-inertial.dir/src/stereo-inertial/stereo-inertial.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo/stereo-slam-node.cpp:1:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo/stereo-slam-node.hpp:11:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
11 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/monocular/monocular-slam-node.cpp:1:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/monocular/monocular-slam-node.hpp:7:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
7 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/stereo.dir/build.make:90: CMakeFiles/stereo.dir/src/stereo/stereo-slam-node.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo-inertial/stereo-inertial-node.cpp:1:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo-inertial/stereo-inertial-node.hpp:8:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
8 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/mono.dir/build.make:90: CMakeFiles/mono.dir/src/monocular/monocular-slam-node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/mono.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/rgbd/rgbd.cpp:7:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/rgbd/rgbd-slam-node.hpp:16:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
16 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/stereo-inertial.dir/build.make:90: CMakeFiles/stereo-inertial.dir/src/stereo-inertial/stereo-inertial-node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:221: CMakeFiles/stereo-inertial.dir/all] Error 2
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo/stereo.cpp:7:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo/stereo-slam-node.hpp:11:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
11 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/rgbd/rgbd-slam-node.cpp:1:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/rgbd/rgbd-slam-node.hpp:16:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
16 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/rgbd.dir/build.make:76: CMakeFiles/rgbd.dir/src/rgbd/rgbd.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/stereo.dir/build.make:76: CMakeFiles/stereo.dir/src/stereo/stereo.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:195: CMakeFiles/stereo.dir/all] Error 2
gmake[2]: *** [CMakeFiles/rgbd.dir/build.make:90: CMakeFiles/rgbd.dir/src/rgbd/rgbd-slam-node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:169: CMakeFiles/rgbd.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
I was following the build process and I get this build error and I can't figure out how to fix it:
`Starting >>> orbslam3
--- stderr: orbslam3
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/monocular/mono.cpp:7:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/monocular/monocular-slam-node.hpp:7:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
7 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/mono.dir/build.make:76: CMakeFiles/mono.dir/src/monocular/mono.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo-inertial/stereo-inertial.cpp:7:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo-inertial/stereo-inertial-node.hpp:8:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
8 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/stereo-inertial.dir/build.make:76: CMakeFiles/stereo-inertial.dir/src/stereo-inertial/stereo-inertial.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo/stereo-slam-node.cpp:1:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo/stereo-slam-node.hpp:11:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
11 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/monocular/monocular-slam-node.cpp:1:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/monocular/monocular-slam-node.hpp:7:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
7 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/stereo.dir/build.make:90: CMakeFiles/stereo.dir/src/stereo/stereo-slam-node.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo-inertial/stereo-inertial-node.cpp:1:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo-inertial/stereo-inertial-node.hpp:8:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
8 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/mono.dir/build.make:90: CMakeFiles/mono.dir/src/monocular/monocular-slam-node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:143: CMakeFiles/mono.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/rgbd/rgbd.cpp:7:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/rgbd/rgbd-slam-node.hpp:16:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
16 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/stereo-inertial.dir/build.make:90: CMakeFiles/stereo-inertial.dir/src/stereo-inertial/stereo-inertial-node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:221: CMakeFiles/stereo-inertial.dir/all] Error 2
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo/stereo.cpp:7:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/stereo/stereo-slam-node.hpp:11:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
11 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/amazingmation/colcon_ws/src/orbslam3_ros2/src/rgbd/rgbd-slam-node.cpp:1:
/home/amazingmation/colcon_ws/src/orbslam3_ros2/src/rgbd/rgbd-slam-node.hpp:16:10: fatal error: cv_bridge/cv_bridge.h: No such file or directory
16 | #include <cv_bridge/cv_bridge.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/rgbd.dir/build.make:76: CMakeFiles/rgbd.dir/src/rgbd/rgbd.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [CMakeFiles/stereo.dir/build.make:76: CMakeFiles/stereo.dir/src/stereo/stereo.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:195: CMakeFiles/stereo.dir/all] Error 2
gmake[2]: *** [CMakeFiles/rgbd.dir/build.make:90: CMakeFiles/rgbd.dir/src/rgbd/rgbd-slam-node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:169: CMakeFiles/rgbd.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed <<< orbslam3 [1.98s, exited with code 2]
Summary: 0 packages finished [2.13s]
1 package failed: orbslam3
1 package had stderr output: orbslam3
`
The text was updated successfully, but these errors were encountered: