Colcon Build Error

1,430 views
Skip to first unread message

Winton Long

unread,
Feb 14, 2022, 6:33:29 AM2/14/22
to LINOROBOT
Hi Everyone, Nice to meet you all. 

I have a stumbling block when compiling. Error as follows. what I am I am missing please?

System :
Jetson nano
Ubuntu 20 (custom Image)
Stereo labs ZED2I Camera

/home/jetson/dev_ws/src/image_common/camera_info_manager/src/camera_info_manager.cpp:46:10: fatal error: rcpputils/env.hpp: No such file or directory
#include "rcpputils/env.hpp"
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/camera_info_manager.dir/build.make:63: CMakeFiles/camera_info_manager.dir/src/camera_info_manager.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/camera_info_manager.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Failed <<< camera_info_manager [5.59s, exited with code 2]
Aborted <<< turtlesim [13.4s]
Aborted <<< zed_components [7.67s]

Summary: 2 packages finished [14.5s]
1 package failed: camera_info_manager
2 packages aborted: turtlesim zed_components
2 packages had stderr output: camera_info_manager zed_components
3 packages not processed


Thanks in advance.


futurenow x

unread,
Feb 14, 2022, 6:45:38 AM2/14/22
to LINOROBOT
Stupid question, do you have a src folder in the src folder, i had the same at the beginning
because using logic from ros catkim_ws/src and then git clone, but in the docu here they
git clone from catkin_ws see ending of the git command "src/zed-ros2-wrapper"

git clone https://github.com/stereolabs/zed-ros2-wrapper src/zed-ros2-wrapper

Winton Long

unread,
Feb 14, 2022, 7:55:19 AM2/14/22
to LINOROBOT
No silly questions :) Thanks for the response. 

If I understand correctly you are saying I am putting the wrapper in the wrong file location?


Thank You, Winton



Op maandag 14 februari 2022 om 12:45:38 UTC+1 schreef futur...@gmail.com:

futurenow x

unread,
Feb 19, 2022, 9:55:15 AM2/19/22
to LINOROBOT
im not shure
in ROS 1 you copy the git to catkin_ws/src
in ROS 2 Linorobot2 to <your_ws> git clone https://github.com/linorobot/ldlidar src/ldlidar
at the end you see the link to src folder, i had the problem at the beginning that i used
<your_ws/src> so i had a src in the src :-) this didnt worked and create simular errors
so always git to <your_ws> without src

Winton Long

unread,
Feb 21, 2022, 5:03:18 PM2/21/22
to LINOROBOT
Hi Sir,

I tried above around 10 times, will all variations with no luck whatsoever.

Really not sure what is going on!

Op zaterdag 19 februari 2022 om 15:55:15 UTC+1 schreef futur...@gmail.com:

Winton Long

unread,
Feb 25, 2022, 4:22:38 PM2/25/22
to LINOROBOT
Hi Any chance of a remote login and you try see what I am doing wrong?

Thank You
Op zaterdag 19 februari 2022 om 15:55:15 UTC+1 schreef futur...@gmail.com:
im not shure
Reply all
Reply to author
Forward
0 new messages