rock-simulation / pybob

Python build scripts
4 stars 7 forks source link

CMake finds libconsolebridge in the system's path #16

Open AlexanderFabisch opened 6 years ago

AlexanderFabisch commented 6 years ago

The package control/urdfdom depends on console_bridge. If you have ROS installed on your computer, this will be located in the system's path at /usr/lib/x86_64-linux-gnu/libconsole_bridge.so. This version is not compatible to MARS. We probably need a patch for the CMake file of the package.

kavonszadkowski commented 6 years ago

What versions are there? Seems counter-intuitive that urdfdom should not be compatible to ROS.

AlexanderFabisch commented 6 years ago

/usr/lib/x86_64-linux-gnu/libconsole_bridge.so seems to be version 0.2 (Ubuntu 16.04, ROS lunar). The version of base/console_bridge seems to be 0.3. The problem is that if it console_bridge is installed in the system, control/urdfdom will find this version and not the one that is cloned with pybob.

malter commented 6 years ago

The package should search for version 0.3 explicitly. It is not defined by pybob how urdfdom or console_bridge are installed, it is defined in some package_set and can be overwritten in a buildconf. What is the buildconf producing this problem?

AlexanderFabisch commented 6 years ago

The buildconf of bolero with the mars environment: https://github.com/rock-learning/bolero_buildconf but those packages seem to be defined in the MARS package set: https://github.com/rock-learning/package_set/blob/master/source.yml#L5

The problem is: the repository is cloned but CMake does not find the correct library version.