Skip to content

moveit simple controller build error #182

Closed

Description

@jrgnicho

Description

Overview of your issue here.
While building moveit2 following the instructions given in the main README.md I get the following build error

Failed   <<< moveit_simple_controller_manager	[ Exited with code 1 ]
--- stderr: moveit_ros_occupancy_map_monitor
CMake Error at .../moveit2_ws/install/moveit_core/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):
  ...t/moveit2_ws/install/moveit_core/share/moveit_core/cmake/moveit_coreConfig.cmake:38 (include)
  CMakeLists.txt:25 (find_package)

Your environment

  • ROS Distro: [eloquent]
  • OS Version: Ubuntu 18.04
  • Source build
  • master branch

Steps to reproduce

Follow build instructions in README.md

 git clone https://github.com/ros-planning/moveit2.git -b master
 vcs import < moveit2/moveit2.repos
 rosdep install -r --from-paths . --ignore-src --rosdistro eloquent -y
 cd $COLCON_WS
 colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release

Expected behaviour

Build should finish without errors

Actual behaviour

Build errors out with the error message shown above

Activity

  1. added
    bug
    on Apr 8, 2020
  2. JafarAbdi commented on Apr 8, 2020

    @JafarAbdi
    Member

    Unfortunately, I can't reproduce this locally, did you try to remove the log, install, and build folder and recompile again .? I fixed similar issue by doing so

  3. jrgnicho commented on Apr 8, 2020

    @jrgnicho
    ContributorAuthor

    I removed install and build but not log I didn't think log mattered but I'll try that as well

  4. JafarAbdi commented on Apr 8, 2020

    @JafarAbdi
    Member

    Yes, you're right keeping log should effect anything

  5. jrgnicho commented on Apr 8, 2020

    @jrgnicho
    ContributorAuthor

    I did a clean build just now by removing all three directories (build, install and log) and the result was the same

  6. jrgnicho commented on Apr 8, 2020

    @jrgnicho
    ContributorAuthor

    OK somehow I ran into this old post describing a similar issue and used the build command here

    colcon build --merge-install
    

    And the build completed successfully

    It turns out in my earlier attempts I was passing the --symlink-install option

  7. JafarAbdi commented on Apr 8, 2020

    @JafarAbdi
    Member

    That's the reason why it was failing, ament_cmake have an issue with the versioned shared library, it got fixed by ament/ament_cmake#216 but it's not released yet for eloquent

  8. jrgnicho commented on Apr 8, 2020

    @jrgnicho
    ContributorAuthor

    Ok for now I won't be using the --symlink-install flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions