ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Ros-kinetic error: pcl_ros cannot find openmpi

asked 2016-12-14 21:08:04 -0500

ignacioalvmar gravatar image

updated 2016-12-15 02:11:00 -0500

gvdhoorn gravatar image

I found this problem building the ros packages for my project. I am running ros-kinetic on Ubuntu 16.04:

-- +++ processing catkin package: 'ros_sourcesink'
-- ==> add_subdirectory(ros_sourcesink)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Warning: ros_sourcesink_clothoid_lane_ros_marker_sink -- not building library, missing [icl_traffic_maps_utilities].
-- Warning: ros_sourcesink_chm_values_ros_marker_sink -- not building library, missing [icl_traffic_maps_gtsam_utilities].
-- +++ processing catkin package: 'ros_automated_driving'
-- ==> add_subdirectory(ros_automated_driving)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at /opt/ros/kinetic/share/pcl_ros/cmake/pcl_rosConfig.cmake:106 (message):
  Project 'pcl_ros' specifies '/usr/include/hdf5/openmpi' as an include dir,
  which is not found.  It does neither exist as an absolute directory nor in
  '/opt/ros/kinetic//usr/include/hdf5/openmpi'.  Ask the maintainer 'Paul
  Bovbel <paul@bovbel.com>, Bill Morris <bill@neautomation.com>' to fix it.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  ros_automated_driving/CMakeLists.txt:9 (find_package)

Thanks for your help!

edit retag flag offensive close merge delete

Comments

although this question is quite old, the problem just recently popped up again:
https://github.com/ros-planning/navig...

any ideas how to properly solve this?

Felix Messmer gravatar image Felix Messmer  ( 2020-12-01 07:18:35 -0500 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2016-12-15 10:17:38 -0500

paulbovbel gravatar image

updated 2016-12-15 10:18:18 -0500

This looks like a PCL include. I've verified on a clean install that if you apt-get install ros-kinetic-pcl-ros from debians, or run rosdep install to pull in dependencies on a source workspace containing pcl_ros, the path will exist on your system.

edit flag offensive delete link more
1

answered 2016-12-14 21:29:35 -0500

ignacioalvmar gravatar image

I fixed it installing the library. Thought ros would install it already. sudo apt-get install libhdf5-openmpi-dev

edit flag offensive delete link more

Comments

2

Are you building things from sources? If you are, you are responsible for installing dependences (using rosdep). If you aren't this would be something to report over at the pcl_rosissue tracker.

gvdhoorn gravatar image gvdhoorn  ( 2016-12-15 02:13:22 -0500 )edit

I was facing the same issue running ros-kinetic on Ubuntu 16.04, even after purge of ros-kinetic-pcl-ros, libpcl-dev and then rosdep install --from-paths src --ignore-src --rosdistro kinetic -y

this issue only got resolved after sudo apt-get install libhdf5-openmpi-dev

bugfighter gravatar image bugfighter  ( 2017-11-29 05:22:15 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-12-14 21:08:04 -0500

Seen: 1,631 times

Last updated: Dec 01 '20