Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a package configuration file provided by "ament_cmake_core" #15

Closed
bionade24 opened this issue May 7, 2019 · 6 comments
Labels
question Further information is requested

Comments

@bionade24
Copy link

bionade24 commented May 7, 2019

ROS Melodic with python3, from the official melodic-devel branches

CMake Error at CMakeLists.txt:3 (find_package):
  By not providing "Findament_cmake_core.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "ament_cmake_core", but CMake did not find one.

  Could not find a package configuration file provided by "ament_cmake_core"
  with any of the following names:

    ament_cmake_coreConfig.cmake
    ament_cmake_core-config.cmake

  Add the installation prefix of "ament_cmake_core" to CMAKE_PREFIX_PATH or
  set "ament_cmake_core_DIR" to a directory containing one of the above
  files.  If "ament_cmake_core" provides a separate development package or
  SDK, be sure it has been installed.

@dirk-thomas dirk-thomas added the question Further information is requested label May 8, 2019
@dirk-thomas
Copy link
Member

ROS Melodic is a ROS 1 distribution. ament_cmake_core on the other hand is a ROS 2 package. It seems like you are mixing something but without any further context it is impossible to say what it is.

@bionade24
Copy link
Author

I'm the AUR maintainer. By using the latest release package of this Repo I get this.
Similar issue here: ros/class_loader#125

@bionade24
Copy link
Author

@dirk-thomas So the 2.x releases are for ROS2? Why aren't those in the ROS2 group? Can you please highlight this?

@dirk-thomas
Copy link
Member

This repository has different branches for different ROS distros - both ROS 1 and ROS 2. Each branch will only work for the distro it is targeting.

Why aren't those in the ROS2 group?

Are you referring to the GitHub org unit: https://github.com/ros2 ? Not all ROS 2 related code is hosted in that org unit. As in this case the code can be hosted in the same repository as the ROS 1 equivalent - commonly on a different branch.

@dirk-thomas
Copy link
Member

By using the latest release package of this Repo I get this.

Please be more specific what exact version of the package you are using. It sounds like you are mixing source code intended for different ROS distributions but without more information that is impossible to tell.

@bionade24
Copy link
Author

D

This repository has different branches for different ROS distros - both ROS 1 and ROS 2. Each branch will only work for the distro it is targeting.

Why aren't those in the ROS2 group?

Are you referring to the GitHub org unit: https://github.com/ros2 ? Not all ROS 2 related code is hosted in that org unit. As in this case the code can be hosted in the same repository as the ROS 1 equivalent - commonly on a different branch.

I didn't know that, fixed my sources and will close the issue. But please communicate it in the README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants