Here is the output for the last two commands in the following steps (creating a completely new ros2_ws and re-clonded both zed-ros2-wrapper and zed-ros2-examples):
user@GTW-ONX2-ubuntu:~/ros2_ws$ colcon build
Starting >>> zed_interfaces
Starting >>> zed_topic_benchmark_interfaces
Starting >>> zed_tutorial_depth
Starting >>> zed_tutorial_pos_tracking
— stderr: zed_interfaces
listing git files failed - pretending there aren’t any
Finished <<< zed_interfaces [3.12s]
Starting >>> zed_components
Finished <<< zed_components [0.39s]
Starting >>> zed_wrapper
Finished <<< zed_wrapper [0.38s]
Starting >>> zed_tutorial_video
— stderr: zed_topic_benchmark_interfaces
CMake Warning (dev) at /opt/ros/humble/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:20 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run “cmake --help-policy CMP0148” for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include)
/opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:286 (ament_execute_extensions)
CMakeLists.txt:81 (rosidl_generate_interfaces)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /opt/ros/humble/share/python_cmake_module/cmake/Modules/FindPythonExtra.cmake:52 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run “cmake --help-policy CMP0148” for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
/opt/ros/humble/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:23 (find_package)
/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include)
/opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:286 (ament_execute_extensions)
CMakeLists.txt:81 (rosidl_generate_interfaces)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /opt/ros/humble/share/python_cmake_module/cmake/Modules/FindPythonExtra.cmake:140 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run “cmake --help-policy CMP0148” for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
/opt/ros/humble/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:23 (find_package)
/opt/ros/humble/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:48 (include)
/opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:286 (ament_execute_extensions)
CMakeLists.txt:81 (rosidl_generate_interfaces)
This warning is for project developers. Use -Wno-dev to suppress it.
listing git files failed - pretending there aren’t any
Finished <<< zed_topic_benchmark_interfaces [14.1s]
Starting >>> zed_topic_benchmark_component
Finished <<< zed_tutorial_depth [35.2s]
Starting >>> rviz_plugin_zed_od
Finished <<< zed_tutorial_video [36.4s]
Starting >>> zed_aruco_localization
Finished <<< zed_topic_benchmark_component [27.6s]
Starting >>> zed_rgb_convert
Finished <<< zed_tutorial_pos_tracking [52.8s]
Starting >>> zed_topic_benchmark
Finished <<< zed_topic_benchmark [21.7s]
Starting >>> zed_depth_to_laserscan
Finished <<< zed_depth_to_laserscan [6.68s]
Starting >>> zed_display_rviz2
Finished <<< zed_display_rviz2 [3.03s]
Starting >>> zed_multi_camera
Finished <<< zed_multi_camera [3.84s]
Starting >>> zed_robot_integration
— stderr: zed_aruco_localization
CMake Warning (dev) at /usr/local/zed/zed-config.cmake:72 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run “cmake
–help-policy CMP0146” for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
CMakeLists.txt:83 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/zed/zed-config.cmake:77 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run “cmake --help-policy CMP0153” for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
CMakeLists.txt:83 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/zed/zed-config.cmake:78 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run “cmake --help-policy CMP0153” for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
CMakeLists.txt:83 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/zed/zed-config.cmake:94 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run “cmake --help-policy CMP0153” for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
CMakeLists.txt:83 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/zed/zed-config.cmake:122 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Run “cmake --help-policy CMP0153” for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Use execute_process() instead.
Call Stack (most recent call first):
CMakeLists.txt:83 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:84 (find_package):
Policy CMP0146 is not set: The FindCUDA module is removed. Run “cmake
–help-policy CMP0146” for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at cmake_install.cmake:69 (file):
file INSTALL cannot find
“/home/user/ros2_ws/src/zed-ros2-examples/examples/zed_aruco_localization/DIRECTORY”:
No such file or directory.
Failed <<< zed_aruco_localization [50.5s, exited with code 1]
Aborted <<< zed_robot_integration [2.84s]
Aborted <<< zed_rgb_convert [54.8s]
Aborted <<< rviz_plugin_zed_od [1min 2s]
Summary: 12 packages finished [1min 38s]
1 package failed: zed_aruco_localization
3 packages aborted: rviz_plugin_zed_od zed_rgb_convert zed_robot_integration
4 packages had stderr output: zed_aruco_localization zed_interfaces zed_rgb_convert zed_topic_benchmark_interfaces
1 package not processed