Skip to content

ompl-config.cmake in wrong location? #12

@jvgomez

Description

@jvgomez

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/ but catkinConfig.cmake looks for it under the subfolder cmake. Therefore I get the error:

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
  Could not find a package configuration file provided by "ompl" with any of
  the following names:

    omplConfig.cmake
    ompl-config.cmake

  Add the installation prefix of "ompl" to CMAKE_PREFIX_PATH or set
  "ompl_DIR" to a directory containing one of the above files.  If "ompl"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:10 (find_package)

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:

Make Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:178 (message):
  catkin_package() CATKIN_DEPENDS on 'ompl', which has been found in
  '/opt/ros/indigo/share/ompl/cmake/ompl-config.cmake', but it is not a
  catkin package
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:100 (_catkin_package)
  CMakeLists.txt:16 (catkin_package)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions