@Myzhar Sorry if I was not clear.
I did manually install all of those packages. It did not help. It still fails at nmea-msgs (which is installed). However, now it fails with all those warnings I posted in the previous post.
Here is the system info:
Ubuntu 22.04.4
Zed SDK 4
Cuda 11.8
ROS2 Humble
I followed the install instructions here:
# Create your ROS 2 Workspace if you do not have one
mkdir -p ~/ros2_ws/src/
# Move to the `src` folder of the ROS 2 Workspace
cd ~/ros2_ws/src/
git clone --recursive https://github.com/stereolabs/zed-ros2-wrapper.git
cd ..
sudo apt update
# Install the required dependencies
rosdep install --from-paths src --ignore-src -r -y
# Build the wrapper
colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release
# Setup the environment variables
echo source $(pwd)/install/local_setup.bash >> ~/.bashrc
source ~/.bashrc
The only difference is my ros2_ws is not in the home directory but in another directory, but this should not matter right?
The output when running the build command is always the same:
[1.766s] WARNING:colcon.colcon_core.prefix_path.colcon:The path ‘/home/benjamin/workspace/projects/computerVision/zedSandbox/lib/ros/install’ in the environment variable COLCON_PREFIX_PATH doesn’t exist
[1.766s] WARNING:colcon.colcon_ros.prefix_path.ament:The path ‘/home/benjamin/workspace/projects/computerVision/zedSandbox/lib/ros/install/zed_ros2’ in the environment variable AMENT_PREFIX_PATH doesn’t exist
[1.766s] WARNING:colcon.colcon_ros.prefix_path.ament:The path ‘/home/benjamin/workspace/projects/computerVision/zedSandbox/lib/ros/install/zed_wrapper’ in the environment variable AMENT_PREFIX_PATH doesn’t exist
[1.766s] WARNING:colcon.colcon_ros.prefix_path.ament:The path ‘/home/benjamin/workspace/projects/computerVision/zedSandbox/lib/ros/install/zed_components’ in the environment variable AMENT_PREFIX_PATH doesn’t exist
[1.766s] WARNING:colcon.colcon_ros.prefix_path.ament:The path ‘/home/benjamin/workspace/projects/computerVision/zedSandbox/lib/ros/install/zed_interfaces’ in the environment variable AMENT_PREFIX_PATH doesn’t exist
[1.776s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path ‘/home/benjamin/workspace/projects/computerVision/zedSandbox/lib/ros/install/zed_ros2’ in the environment variable CMAKE_PREFIX_PATH doesn’t exist
[1.776s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path ‘/home/benjamin/workspace/projects/computerVision/zedSandbox/lib/ros/install/zed_wrapper’ in the environment variable CMAKE_PREFIX_PATH doesn’t exist
[1.776s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path ‘/home/benjamin/workspace/projects/computerVision/zedSandbox/lib/ros/install/zed_components’ in the environment variable CMAKE_PREFIX_PATH doesn’t exist
[1.776s] WARNING:colcon.colcon_ros.prefix_path.catkin:The path ‘/home/benjamin/workspace/projects/computerVision/zedSandbox/lib/ros/install/zed_interfaces’ in the environment variable CMAKE_PREFIX_PATH doesn’t exist
Starting >>> zed_interfaces
Finished <<< zed_interfaces [22.7s]
Starting >>> zed_components
— stderr: zed_components
CMake Error at CMakeLists.txt:129 (find_package):
By not providing “Findnmea_msgs.cmake” in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
“nmea_msgs”, but CMake did not find one.
Could not find a package configuration file provided by “nmea_msgs” with
any of the following names:
nmea_msgsConfig.cmake
nmea_msgs-config.cmake
Add the installation prefix of “nmea_msgs” to CMAKE_PREFIX_PATH or set
“nmea_msgs_DIR” to a directory containing one of the above files. If
“nmea_msgs” provides a separate development package or SDK, be sure it has
been installed.
Failed <<< zed_components [5.64s, exited with code 1]
Summary: 1 package finished [29.7s]
1 package failed: zed_components
1 package had stderr output: zed_components
2 packages not processed
Note that it is failing at nmea-msgs.
I really don’t understand what I am doing wrong.
Thank you!