forked from moveit/moveit2
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Description
I'm getting build errors when building from source according to the instructions found here: https://github.com/acutronicrobotics/moveit2#build-from-source
Your environment
- ROS Distro: Dashing (master branch)
- OS Version: Ubuntu 18.04
- Source build from master branch
Steps to reproduce
- Create a new ros2 workspace (~/ros2_ws) and install Dashing from source according to instructions found here: https://index.ros.org/doc/ros2/Installation/Dashing/Linux-Development-Setup/ and using the version of ros2.repos from the master branch. I used the command
colcon build --merge-install --symlink-install --cmake-force-configure
to build ros2. - Create a new workspace folder and src folder (~/ros2_moveit_ws/src) and clone the moveit2 repository with the command
git clone https://github.com/AcutronicRobotics/moveit2 -b master
into the src directory. - Move to ~/ros2_moveit_ws/ and run the following commands:
. ~/ros2_ws/install/setup.bash
vcs import src < src/moveit2/moveit2.repos
colcon build --merge-install --symlink-install --cmake-args -DBUILD_TESTING=FALSE
Expected behaviour
The colcon build command should complete successfully
Actual behaviour
Build fails on the moveit_ros_perception
component because it can't find a library exported by moveit_core:
Starting >>> moveit_ros_perception
--- stderr: moveit_ros_perception
CMake Error at /home/mlanting/ros2_moveit_ws/install/share/moveit_core/cmake/ament_cmake_export_libraries-extras.cmake:48 (message):
Package 'moveit_core' exports the library 'moveit_exceptions' which
couldn't be found
Call Stack (most recent call first):
/home/mlanting/ros2_moveit_ws/install/share/moveit_core/cmake/moveit_coreConfig.cmake:38 (include)
CMakeLists.txt:31 (find_package)
---
Failed <<< moveit_ros_perception [ Exited with code 1 ]
full output here:
moveit_build_error_output.txt
I played around in the CMakeLists file for moveit_core and shifted the order libraries are listed in the libraries set, and the error seems to specifiy whichever library is first in the list.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed