You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to take the first step of building ros2_controllers inside of the IsaacROSDev containers. But, its not compiling due to problems with gmock.
Environment (please complete the following information):
OS: Host is Ubuntu 22.04
Version: Humble. Including the Humble branch of ros2_controllers.
Here's the terminal output...
led,automatic]
admin@system76-pc:/workspaces/isaac_ros-dev$ colcon build --symlink-install
[0.512s] WARNING:colcon.colcon_core.package_selection:Some selected packages are already built in one or more underlay workspaces:
'isaac_ros_common' is in: /opt/ros/humble
'isaac_ros_nitros_compressed_image_type' is in: /opt/ros/humble
'gxf_isaac_optimizer' is in: /opt/ros/humble
'isaac_ros_managed_nitros' is in: /opt/ros/humble
'isaac_ros_tensor_rt' is in: /opt/ros/humble
'isaac_ros_nitros' is in: /opt/ros/humble
'position_controllers' is in: /opt/ros/humble
'gxf_isaac_tensorops' is in: /opt/ros/humble
'isaac_ros_nitros_image_type' is in: /opt/ros/humble
'isaac_ros_dnn_image_encoder' is in: /opt/ros/humble
'isaac_ros_image_proc' is in: /opt/ros/humble
'nav2_map_server' is in: /opt/ros/humble
'isaac_ros_launch_utils' is in: /opt/ros/humble
'gripper_controllers' is in: /opt/ros/humble
'isaac_ros_test' is in: /opt/ros/humble
'isaac_ros_gxf' is in: /opt/ros/humble
'isaac_ros_tensor_list_interfaces' is in: /opt/ros/humble
'isaac_ros_nitros_detection2_d_array_type' is in: /opt/ros/humble
'owl_description' is in: /opt/ros/humble
'isaac_ros_triton' is in: /opt/ros/humble
'joint_trajectory_controller' is in: /opt/ros/humble
'hawk_description' is in: /opt/ros/humble
'joint_state_broadcaster' is in: /opt/ros/humble
'isaac_ros_nitros_tensor_list_type' is in: /opt/ros/humble
If a package in a merged underlay workspace is overridden and it installs headers, then all packages in the overlay must sort their include directories by workspace order. Failure to do so may result in build failures or undefined behavior at run time.
If the overridden package is used by another package in any underlay, then the overriding package in the overlay must be API and ABI compatible or undefined behavior at run time may occur.
If you understand the risks and want to override a package anyways, add the following to the command line:
--allow-overriding gripper_controllers gxf_isaac_optimizer gxf_isaac_tensorops hawk_description isaac_ros_common isaac_ros_dnn_image_encoder isaac_ros_gxf isaac_ros_image_proc isaac_ros_launch_utils isaac_ros_managed_nitros isaac_ros_nitros isaac_ros_nitros_compressed_image_type isaac_ros_nitros_detection2_d_array_type isaac_ros_nitros_image_type isaac_ros_nitros_tensor_list_type isaac_ros_tensor_list_interfaces isaac_ros_tensor_rt isaac_ros_test isaac_ros_triton joint_state_broadcaster joint_trajectory_controller nav2_map_server owl_description position_controllers
This may be promoted to an error in a future release of colcon-override-check.
Starting >>> isaac_ros_common
Starting >>> magic_enum
Starting >>> isaac_ros_test
Starting >>> nav2_common
Starting >>> smacc2_msgs
Starting >>> isaac_ros_tensor_list_interfaces
Starting >>> nav_2d_msgs
Starting >>> isaac_ros_apriltag_interfaces
Starting >>> isaac_ros_nova_interfaces
Starting >>> isaac_ros_launch_utils
Starting >>> nav2z_planners_common
Starting >>> isaac_ros_pointcloud_interfaces
Starting >>> isaac_ros_json_info_generator
Starting >>> nvblox_msgs
Starting >>> vda5050_msgs
Starting >>> nvblox_ros_common
Starting >>> nvblox_ros_python_utils
Starting >>> forward_command_controller
Starting >>> steering_controllers_library
Starting >>> joint_trajectory_controller
Starting >>> sllidar_ros2
Starting >>> isaac_ros_bi3d_interfaces
Starting >>> isaac_ros_perceptor_constants
Starting >>> joint_state_broadcaster
Starting >>> diff_drive_controller
Starting >>> force_torque_sensor_broadcaster
Starting >>> imu_sensor_broadcaster
Starting >>> isaac_ros_data_validation
Starting >>> openvdb_vendor
Starting >>> pid_controller
Starting >>> range_sensor_broadcaster
Starting >>> tricycle_controller
--- stderr: forward_command_controller
CMake Warning at /opt/ros/humble/share/ament_cmake_gmock/cmake/ament_cmake_gmock-extras.cmake:110 (message):
'gmock' not found, C++ tests using 'Google Mock' can not be built. Please
install the 'Google Mock' headers globally in your system to enable these
tests (e.g. on Ubuntu/Debian install the package 'google-mock') or get the
ament package 'gmock_vendor'
Call Stack (most recent call first):
/opt/ros/humble/share/ament_cmake_gmock/cmake/ament_add_gmock.cmake:50 (_ament_cmake_gmock_find_gmock)
CMakeLists.txt:60 (ament_add_gmock)
CMake Error at CMakeLists.txt:63 (target_link_libraries):
Cannot specify link libraries for target
"test_load_forward_command_controller" which is not built by this project.
---
Failed <<< forward_command_controller [1.48s, exited with code 1]
--- stderr: joint_trajectory_controller
CMake Warning at /opt/ros/humble/share/ament_cmake_gmock/cmake/ament_cmake_gmock-extras.cmake:110 (message):
'gmock' not found, C++ tests using 'Google Mock' can not be built. Please
install the 'Google Mock' headers globally in your system to enable these
tests (e.g. on Ubuntu/Debian install the package 'google-mock') or get the
ament package 'gmock_vendor'
Call Stack (most recent call first):
/opt/ros/humble/share/ament_cmake_gmock/cmake/ament_add_gmock.cmake:50 (_ament_cmake_gmock_find_gmock)
CMakeLists.txt:59 (ament_add_gmock)
CMake Error at CMakeLists.txt:60 (target_link_libraries):
Cannot specify link libraries for target "test_trajectory" which is not
built by this project.
---
Failed <<< joint_trajectory_controller [1.48s, exited with code 1]
--- stderr: steering_controllers_library
CMake Warning at /opt/ros/humble/share/ament_cmake_gmock/cmake/ament_cmake_gmock-extras.cmake:110 (message):
'gmock' not found, C++ tests using 'Google Mock' can not be built. Please
install the 'Google Mock' headers globally in your system to enable these
tests (e.g. on Ubuntu/Debian install the package 'google-mock') or get the
ament package 'gmock_vendor'
Call Stack (most recent call first):
/opt/ros/humble/share/generate_parameter_library/cmake/generate_parameter_library.cmake:155 (_ament_cmake_gmock_find_gmock)
CMakeLists.txt:60 (add_rostest_with_parameters_gmock)
CMake Warning at /opt/ros/humble/share/ament_cmake_gmock/cmake/ament_cmake_gmock-extras.cmake:110 (message):
'gmock' not found, C++ tests using 'Google Mock' can not be built. Please
install the 'Google Mock' headers globally in your system to enable these
tests (e.g. on Ubuntu/Debian install the package 'google-mock') or get the
ament package 'gmock_vendor'
Call Stack (most recent call first):
/opt/ros/humble/share/ament_cmake_gmock/cmake/ament_add_gmock.cmake:50 (_ament_cmake_gmock_find_gmock)
CMakeLists.txt:70 (ament_add_gmock)
CMake Error at CMakeLists.txt:71 (target_link_libraries):
Cannot specify link libraries for target "test_steering_odometry" which is
not built by this project.
---
Failed <<< steering_controllers_library [1.48s, exited with code 1]
But the IsaacROSDev containers already come with google-mock installed...
I had to edit the output below for brevity, but it's clearly there..
I'm trying to take the first step of building ros2_controllers inside of the IsaacROSDev containers. But, its not compiling due to problems with gmock.
To recreate, follow the readme instructions here...
https://github.com/robosoft-ai/nova_carter_sm_library/tree/main/sm_nav2_test_3
Environment (please complete the following information):
Here's the terminal output...
led,automatic]
But the IsaacROSDev containers already come with google-mock installed...
I had to edit the output below for brevity, but it's clearly there..
The text was updated successfully, but these errors were encountered: