Colcon build fails ros2_foxy on jetson

hey there,

I trying to compile the ros2-wrapper on an clean install of UBUNTU20.04 ROS2 foxy.
the problem … i don’t know

CMake Warning at CMakeLists.txt:114 (find_package):
By not providing “Findzed_interfaces.cmake” in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
“zed_interfaces”, but CMake did not find one.

Could not find a package configuration file provided by “zed_interfaces”
with any of the following names:

zed_interfacesConfig.cmake
zed_interfaces-config.cmake

Add the installation prefix of “zed_interfaces” to CMAKE_PREFIX_PATH or set
“zed_interfaces_DIR” to a directory containing one of the above files. If
“zed_interfaces” provides a separate development package or SDK, be sure it
has been installed.

CMake Error at /opt/ros/foxy/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:77 (message):
ament_target_dependencies() the passed package name ‘zed_interfaces’ was
not found before
Call Stack (most recent call first):
CMakeLists.txt:195 (ament_target_dependencies)


Failed <<< zed_components [7.70s, exited with code 1]

Summary: 4 packages finished [15.0s]
1 package failed: zed_components
1 package had stderr output: zed_components
2 packages not processed
jetson@nano:~/foxy_ws$

any help would be highly appreciated, thanks!

Hi @bart
welcome to the Stereolabs community.

How did you clone the repository?
Did you follow the guide in the README and used the --recursive option to retrieve also the code in the zed-ros2-interface submodule?

You just know what to ask to make people get back on the right path…

indeed i did not use the option --recursive just git clone.

I had to delete the entire workspace and rebuild a new one … but with success!

I hope the mailman is quick delivering the ZED mini

Thnaks a lot!

1 Like