Using ros2_local_repository
following the ros-humble installation (the debian way) yields errors the following CMAKE errors -
--- captured stderr ---
CMake Warning at /opt/ros/humble/share/quality_of_service_demo_cpp/cmake/ament_cmake_export_include_directories-extras.cmake:11 (message):
Package 'quality_of_service_demo_cpp' exports the include directory
'/opt/ros/humble/share/quality_of_service_demo_cpp/cmake/../../../include/quality_of_service_demo_cpp'
which doesn't exist
Call Stack (most recent call first):
/opt/ros/humble/share/quality_of_service_demo_cpp/cmake/quality_of_service_demo_cppConfig.cmake:41 (include)
CMakeLists.txt:16 (find_package)
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs__rosidl_generator_c" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs__rosidl_typesupport_fastrtps_c" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs__rosidl_generator_cpp" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs__rosidl_typesupport_fastrtps_cpp" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs__rosidl_typesupport_introspection_c" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs__rosidl_typesupport_c" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs__rosidl_typesupport_introspection_cpp" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs__rosidl_typesupport_cpp" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs__rosidl_generator_py" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_image_tools" links to target
"sensor_msgs::sensor_msgs_library" but the target was not found. Perhaps a
find_package() call is missing for an IMPORTED target, or an ALIAS target
is missing?
CMake Generate step failed. Build files cannot be regenerated correctly.
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target "tf2::tf2" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target
"geometry_msgs::geometry_msgs__rosidl_generator_c" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target
"geometry_msgs::geometry_msgs__rosidl_typesupport_fastrtps_c" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target
"geometry_msgs::geometry_msgs__rosidl_typesupport_introspection_c" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target
"geometry_msgs::geometry_msgs__rosidl_typesupport_c" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target
"geometry_msgs::geometry_msgs__rosidl_generator_cpp" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target
"geometry_msgs::geometry_msgs__rosidl_typesupport_fastrtps_cpp" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target
"geometry_msgs::geometry_msgs__rosidl_typesupport_introspection_cpp" but
the target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target
"geometry_msgs::geometry_msgs__rosidl_typesupport_cpp" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target
"geometry_msgs::geometry_msgs__rosidl_generator_py" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
CMake Error at CMakeLists.txt:19 (add_library):
Target "empty_using_tf2_bullet" links to target "tf2_ros::tf2_ros" but the
target was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
CMake Generate step failed. Build files cannot be regenerated correctly.
Trying to build my [outdoor_slam_ros2][1]
package with drake-ros' bazel rules.
Relevant snippet from WORKSPACE
. Is there some other way to pull in packages and use via an overlay workspace?
# Use ROS 2
ros2_local_repository(
name = "ros2",
workspaces = ["/opt/ros/humble/"],
)