ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to Install FCL library in ROS-Kinetic (catkin workspace)

asked 2018-01-08 22:56:41 -0600

puneet.tiwari gravatar image

updated 2018-01-09 00:27:42 -0600

jayess gravatar image

PROBLEM:: I am not able to compile FCL using catkin_make ??


CMake Error at path_planner/CMakeLists.txt:6 (find_package):
By not providing "Findfcl.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "fcl", but
CMake did not find one.

Could not find a package configuration file provided by "fcl" with any of the following names:


Add the installation prefix of "fcl" to CMAKE_PREFIX_PATH or set "fcl_DIR" to a directory containing one of the above files. If "fcl" provides a separate development package or SDK, be sure it has been installed.


My package has this cmake file:::

cmake_minimum_required(VERSION 2.8.3)



find_package(octomap REQUIRED)

find_package(fcl REQUIRED)

find_package(OMPL REQUIRED)

find_package(catkin REQUIRED COMPONENTS

  INCLUDE_DIRS include
  LIBRARIES path_planning
  CATKIN_DEPENDS octomap_msgs octomap_ros pcl_conversions pcl_ros roscpp std_msgs
#  DEPENDS octomap PCL


edit retag flag offensive close merge delete


Hello, I have the same ERROR with you when compile "path_planning" in ros kinetic. So, have you worked this error out? I need your help, thanks!

zhchpan gravatar image zhchpan  ( 2018-01-21 08:38:18 -0600 )edit

No, this problem is still not solved. If anyhow you find a solution, please let me know as well. Instead of using this library, Now I am using voxels in octomap to check any collision.


puneet.tiwari gravatar image puneet.tiwari  ( 2018-01-22 00:42:21 -0600 )edit

When I browse fcl's website, I found that fcl before version 0.5 doesn't have 'fclConfig.cmake', so I solve this bug by downloading and compiling the fcl library of version 0.5.

zhchpan gravatar image zhchpan  ( 2018-01-22 01:43:36 -0600 )edit

3 Answers

Sort by » oldest newest most voted

answered 2019-12-18 06:18:29 -0600

smichael gravatar image

Hi, just an update in case someone else also has this problem and want to use the libfcl-0.5-dev package. The moveit-package also uses the fcl-library and their CMakeList looks the following way:

edit flag offensive delete link more

answered 2018-01-09 10:18:02 -0600

joq gravatar image

If you mean this FCL version, you can't build it in using catkin_make, because it's not a catkin package.

You might be able to build it using catkin_tools, but I believe you'd need to create a package.xml specifying a <buildtool_depend> of cmake.


edit flag offensive delete link more


Thanks a lot. However, I am searching fcl, which I can build with catkin_make. Do you have any idea about fcl which I can build with catkin_make??

puneet.tiwari gravatar image puneet.tiwari  ( 2018-01-09 23:08:57 -0600 )edit




<description>The path_planning package</description>

<maintainer <a="" hitech@todo.todo"="" href="mailto:email=">hitechemail="hitech@todo.todo">hitech></maintainer>



puneet.tiwari gravatar image puneet.tiwari  ( 2018-01-09 23:54:18 -0600 )edit








puneet.tiwari gravatar image puneet.tiwari  ( 2018-01-09 23:55:32 -0600 )edit






<export> </export> </package>

puneet.tiwari gravatar image puneet.tiwari  ( 2018-01-09 23:56:15 -0600 )edit

I am not aware of any "catkinized" FCL version. Maybe someone else knows.

joq gravatar image joq  ( 2018-01-10 10:15:10 -0600 )edit

answered 2018-05-22 10:50:40 -0600

jpde.lopes gravatar image

updated 2018-05-22 10:51:07 -0600

To use FCL, I followed this, meaning:

I have removed previously installed versions,

sudo apt-get -qq remove libfcl0 libfcl-dev ros-kinetic-octomap
sudo apt-get -qq install libccd-dev

I have cloned the code from github and added the package.xml with:


I did not follow the last step, were it was needed to rename the package, since it was not required for what I wanted to do.

Next, I compiled the workspace with only the fcl package inside. After, I added another package, which will use fcl and I made sure it detected the fcl package, by following this answer.

I understand that this is not a direct answer to your question, but it may help, so here it is.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools



Asked: 2018-01-08 22:56:41 -0600

Seen: 3,905 times

Last updated: May 22 '18