Open j-rivero opened 6 years ago
Ok for now I will use this fix and document it in the readme.
let's leave the issue open until we merge the changes that fix it in the Drake repository.
Perhaps we need to document this in the README too? i.e. the dirty patch needed to develop with this project.
Hi,
When I did the solution suggested by j-rivero, another similar error came, but previous error left.
/usr/bin/ld: cannot find -lBoost::boost
Have you faced this issue?
I am using ubuntu 16.04 ROS kinetic.
The current master branch fails to compile with the following error:
The problem comes from the fcl cmake module generated by Drake which list in the
INTERFACE_LINK_LIBRARIES
. For some reason the library target name "octomap::octomap" is not being resolved and is passed to the linker as it.Since libfcl (the consumer of octomap) does link statically against ccd and octomap, there is not need to supply them in the cmake module. A dirty patch to solve the issue:
I think that fixing the real problem does not worth the effort since these modules are going to be removed by https://github.com/RobotLocomotion/drake/pull/7417. I've confirmed that building drake using the branch in the PR makes this package to successfully compile.