intel / ros2_intel_realsense

This project is deprecated and no more maintained. Please visit https://github.com/IntelRealSense/realsense-ros for ROS2 wrapper.
Apache License 2.0
140 stars 96 forks source link

package failed: realsense_ros2_camera, package had stderr output: realsense_ros2_camera #168

Open mkeyno opened 4 years ago

mkeyno commented 4 years ago

I've tried to install realsense package on my ROS2 foxy edition but following error appreared

ros@ubuntu:~/ros2_foxy$ colcon build --base-paths src/ros2_intel_realsense
Starting >>> realsense_camera_msgs
Finished <<< realsense_camera_msgs [17.3s]                       
Starting >>> realsense_ros2_camera
--- stderr: realsense_ros2_camera                          
CMake Error at /opt/ros/foxy/share/librealsense2/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
  Package 'librealsense2' exports the library 'realsense2' which couldn't be
  found
Call Stack (most recent call first):
  /opt/ros/foxy/share/librealsense2/cmake/librealsense2Config.cmake:41 (include)
  CMakeLists.txt:65 (find_package)

---
Failed   <<< realsense_ros2_camera [3.89s, exited with code 1]

Summary: 1 package finished [21.6s]
  1 package failed: realsense_ros2_camera
  1 package had stderr output: realsense_ros2_camera