Hello,
when i run the colcon build commad this error appears evey time
i am using ubuntu 22, jetson orin, ros humble
i follow this installation process
mkdir -p ~/ros2_ws/src/ # create your workspace if it does not exist
cd ~/ros2_ws/src/ #use your current ros2 workspace folder
git clone GitHub - stereolabs/zed-ros2-wrapper: ROS 2 wrapper for the ZED SDK
cd ..
sudo apt update
rosdep update
rosdep install --from-paths src --ignore-src -r -y # install dependencies
colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release --parallel-workers $(nproc) # build the workspace
echo source $(pwd)/install/local_setup.bash >> ~/.bashrc # automatically source the installation in every new bash (optional)
source ~/.bashrc
v_agg@ubuntu:~/ros2_ws$ colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release --parallel-workers $(nproc) # build the workspace
Starting >>> zed_components
— stderr: zed_components
CMake Warning at CMakeLists.txt:123 (find_package):
By not providing “Findzed_msgs.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “zed_msgs”,
but CMake did not find one.
Could not find a package configuration file provided by “zed_msgs” with any
of the following names:
zed_msgsConfig.cmake
zed_msgs-config.cmake
Add the installation prefix of “zed_msgs” to CMAKE_PREFIX_PATH or set
“zed_msgs_DIR” to a directory containing one of the above files. If
“zed_msgs” provides a separate development package or SDK, be sure it has
been installed.
CMake Error at /opt/ros/humble/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:77 (message):
ament_target_dependencies() the passed package name ‘zed_msgs’ was not
found before
Call Stack (most recent call first):
CMakeLists.txt:274 (ament_target_dependencies)
Failed <<< zed_components [3.82s, exited with code 1]
Summary: 0 packages finished [4.46s]
1 package failed: zed_components
1 package had stderr output: zed_components
2 packages not processed
v_agg@ubuntu:~/ros2_ws$
Please help to solve this error i also try multiple time by cleaning and rebuild but same error every time