Conversation
Remove manifest.xml. For some reason when trying to install dependencies via rosdep, the dependencies defined in manifest.xml are used first. Because of that dependencies such as eigen3_cmake_module are not installed. This causes compilation via colcon to fail.
|
@audrow @ivanpauno could you please have a look at this? Thanks in advance for the help! |
|
Hi @giusebar, FYI, this repo is only used for ROS 2 distros up to Galactic, Humble and newer are using https://github.com/ros2/orocos_kdl_vendor (which is a cmake shim to download and build the package if not already installed). You should be able to install this package from debians as well e.g. for Foxy
did you have the ROS_DISTRO environment variable set correctly?
Removing the old manifest in this repo is fine, as it's not used at all for ROS 2 builds. |
|
Hello @ivanpauno, Thanks for your review and reply! Yes, I tried a few times to make sure I was setting up the ROS_DISTRO environment variable. Also run the command with explicit |
|
@Mergifyio backport galactic foxy |
Remove manifest.xml. For some reason when trying to install dependencies via rosdep, the dependencies defined in manifest.xml are used first. Because of that dependencies such as eigen3_cmake_module are not installed. This causes compilation via colcon to fail. (cherry picked from commit f48062a)
✅ Backports have been createdDetails
|
Remove manifest.xml. For some reason when trying to install dependencies via rosdep, the dependencies defined in manifest.xml are used first. Because of that dependencies such as eigen3_cmake_module are not installed. This causes compilation via colcon to fail. (cherry picked from commit f48062a)
|
@giusebar see orocos#222 (comment). Anyway, the change is okay in this repo. |
Remove manifest.xml. For some reason when trying to install dependencies via rosdep, the dependencies defined in manifest.xml are used first. Because of that dependencies such as eigen3_cmake_module are not installed. This causes compilation via colcon to fail. (cherry picked from commit f48062a) Co-authored-by: giusebar <giuse.barbieri@gmail.com>
Remove manifest.xml. For some reason when trying to install dependencies via rosdep, the dependencies defined in manifest.xml are used first. Because of that dependencies such as eigen3_cmake_module are not installed. This causes compilation via colcon to fail. (cherry picked from commit f48062a) Co-authored-by: giusebar <giuse.barbieri@gmail.com>
Remove manifest.xml.
I've been trying to compile these packages in Ubuntu 20.04, ROS 2 Foxy.
After cloning the package, I'm installing the rosdep with
rosdep install -i -y --from-paths ..However, not all the dependencies defined in package.xml are installed. E.g. eigen3_cmake_module.
Because of this, when compiling with
colcon build --executor=sequential --event-handlers console_direct+, I get the following errors complaining it can't find Eigen libraries (fatal error: Eigen/Core: No such file or directory).After some investigation I've discovered that, for some reason, when trying to install dependencies via rosdep, the dependencies defined in manifest.xml are used first. And dependencies like eigen3_cmake_modules are not installed. This causes compilation via colcon to fail. The failure is due to the fact that the eigen3_cmake_module takes care of setting the correct Eigen3_INCLUDE_DIRS here.
Without that command EIGEN3_INCLUDE_DIRS will be set instead, and ignored in the CMakeLists.txt.
This should also be backported, as the issue happens also in foxy (in which i've tested this).