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

catkin-cmake-isolated fails to build moveit_core

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

Fabien R gravatar image

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

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:


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

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

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


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

Fabien R gravatar image Fabien R  ( 2013-10-20 03:27:02 -0500 )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 image silentwf  ( 2014-10-29 09:54:39 -0500 )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 image Fabien R  ( 2015-01-22 09:33:22 -0500 )edit

Question Tools

1 follower


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

Seen: 985 times

Last updated: Oct 19 '13