Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colcon Build Error #42

Open
amazingmation opened this issue Dec 1, 2024 · 0 comments
Open

Colcon Build Error #42

amazingmation opened this issue Dec 1, 2024 · 0 comments

Comments

@amazingmation
Copy link

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
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant