ROS Groovy, robot_mechanism_controllers: cannot find -lPyKDL
Hi,
On a fresh ROS Groovy install (on Ubuntu 12.04), I'm failing to compile robot_mechanism_controllers. I get a linkage error:
Linking CXX shared library ../lib/librobot_mechanism_controllers.so/usr/bin/ld:
cannot find -lPyKDL
robot_mechanism_controllers is depending on kdl (which depends on python_orocos_kdl). The python_orocos_kdl in /opt/ros/groovy/stacks does contain a PyKDL.so, but not the one in /opt/ros/groovy/share (which is coming first in the ROS_PACKAGE_PATH).
I found this as I was trying to compile my own controllers based on robot_mechanism_controllers and was getting this error. I tried to compile the already installed robot_mechanism_controllers package (installed through standard apt-get), and also tried to download it in an overlay from the svn.
Any idea?
Cheers,
Ugo
I can "fix" it by manually prepending the path to the python_orocos_kdl in /opt/ros/stacks to ROS_PACKAGE_PATH (export ROS_PACKAGE_PATH=/opt/ros/groovy/stacks/orocos_kinematics_dynamics/python_orocos_kdl:${ROS_PACKAGE_PATH}). What's wrong here?