ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

catkin-cmake-isolated fails to build moveit_core

asked 2013-10-18 05:58:02 -0600

Fabien R gravatar image

updated 2014-01-28 17:18:17 -0600

ngrennan gravatar image

I'm trying to compile moveit_core with catkin_make_isolated but it failed because it could find a config file for fcl.

-- catkin 0.5.74
CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a package configuration file provided by "fcl" with any of
  the following names:

    fclConfig.cmake
    fcl-config.cmake

I already installed fcl because fcl.pc is present in /usr/local/lib/pkgconfig. Is there a way to use it instead of the cmake config file ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-19 18:09:56 -0600

tfoote gravatar image

You need to make sure that fcl has installed one of the two .cmake files into the location and that it's on the CMAKE_PREFIX_PATH correctly if you want to use a non standard location.

edit flag offensive delete link more

Comments

Finally, I added a cmake file base on `FindPkgConfig.cmake` to make it work.

Fabien R gravatar imageFabien R ( 2013-10-20 03:27:02 -0600 )edit

@Fabien R Could you post your cmake file and where you placed it? I'm also facing the same problem as you are.

silentwf gravatar imagesilentwf ( 2014-10-29 09:54:39 -0600 )edit

It seems that I copied the file to /opt/ros/groovy/share/fcl/cmake and renamed it as fcl-config.cmake. But a cleaner way is to build fcl source as a package (with check_install for instance) and to use: find_package(PkgConfig) pkg_check_modules(FCL fcl) include_directories( ${FCL_INCLUDE_DIRS})

Fabien R gravatar imageFabien R ( 2015-01-22 09:33:22 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-10-18 05:58:02 -0600

Seen: 577 times

Last updated: Oct 19 '13