fcl icon indicating copy to clipboard operation
fcl copied to clipboard

make error while compiling fcl on ubuntu 16.04: No rule to make target 'octomap-NOTFOUND', needed by 'lib/libfcl.so.0.6.0'

Open MapleNSteel opened this issue 8 years ago • 6 comments

I am installing fcl for use with openrave. While attempting to compile from the source, I am faced with the above error. octomap-NOTFOUND is certainly not a file to be compiled and my octomap installation was also succesful.

MapleNSteel avatar Feb 09 '17 12:02 MapleNSteel

I have the same error, did you solve it?

MariaRamos89 avatar Mar 13 '17 17:03 MariaRamos89

I also had this problem when I used the devel version of octomap. After I changed to octomap v-1.8.1, the problem is fixed.

LinYuChi avatar Apr 25 '17 01:04 LinYuChi

octomap v1.9.0 is also not compatible

xwavex avatar May 09 '17 09:05 xwavex

I have the same error on macOS Sierra.

make[2]: *** No rule to make target `octomap-NOTFOUND', needed by `lib/libfcl.0.6.0.dylib'.  Stop.

octomap v1.9.0

Zeta611 avatar Aug 03 '17 07:08 Zeta611

Looked into this error a little more, it's happening because of some error in find_package(octomap).

Specifically, octomap-config.cmake for 1.9.0 actually sets the version number, which it should be doing, and octomap-config.cmake does not set the version.

This seems to be addressed in the top level CMakeLists.txt, but for some reason, find_package(octomap) sets some variable to octomap-NOTFOUND, instead of the actual library name. This variable is not octomap_libraries, as I can confirm it is set correctly to /usr/local/lib/liboctomap.so;/usr/local/lib/liboctomath.so. Commenting out line 178 fixes compilation with octomap 1.9.0.

Suggested solution: remove line 178.

BryceStevenWilley avatar Aug 03 '17 22:08 BryceStevenWilley

I just ran into this as well. If FCL depends on a specific octomap version it would be nice if that was mentioned in the README

manuelli avatar Nov 22 '17 22:11 manuelli