Open jvgomez opened 6 years ago
The cmake documentation for find_package
indicates that the cmake file in <prefix>/share/ompl
is in the search path: https://cmake.org/cmake/help/v3.10/command/find_package.html
I don't understand why catkin would override the default behavior.
Neither do I. AFAIK this is the code in which catkin searches for components, at it looks only in the cmake subfolder. Other ROS packages are distributed according to this.
I guess this should be fixed in catkin. But I think it would be faster to do a fix here. Also, I wonder why nobody reported this issue before.
This is probably because ompl
is a pure CMake package and not a catkin package. This can be fixed in the bloom packaging. See also another related bug in #9.
I have the same problem
I have installed ros-kinetic-ompl in Ubuntu 16.04. I am perhaps missing something, but the
ompl-config.cmake
file is installed under /opt/ros/kinetic/share/ompl/ butcatkinConfig.cmake
looks for it under the subfoldercmake
. Therefore I get the error:I wonder why is it this way, and what is a better solution. I didn't find a workaround yet, as doing a symlink shows:
Thanks!