fcl
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'
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.
I have the same error, did you solve it?
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.
octomap v1.9.0 is also not compatible
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
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.
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