Closed LucaMIMOUNI closed 2 weeks ago
Please open questions like this on https://robotics.stackexchange.com/questions/tagged/ros, which is our central Question and Answer site. You'll get a better answer there, and it will be searchable for the future.
Make sure to include a lot of information on what platform you are using, which ROS distribution you are using, and the exact steps you took.
Hello everyone,
I am trying to follow this basic tutorial : https://docs.ros.org/en/humble/Tutorials/Beginner-Client-Libraries/Colcon-Tutorial.html
I find trouble when trying to
colcon build --symlink-install
in the root of my ros2_ws, and get this error :`--- stderr: examples_rclcpp_async_client CMake Error at CMakeLists.txt:14 (find_package): By not providing "Findexample_interfaces.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "example_interfaces", but CMake did not find one.
Could not find a package configuration file provided by "example_interfaces" with any of the following names:
Add the installation prefix of "example_interfaces" to CMAKE_PREFIX_PATH or set "example_interfaces_DIR" to a directory containing one of the above files. If "example_interfaces" provides a separate development package or SDK, be sure it has been installed. 1 package failed: examples_rclcpp_async_client`
I've try with and without sourcing
/opt/ros/humble/setup.bash
in the terminal. Moreover, "example_interface" is already in the async_client package.xml :So that I do not understand the error I got when colcon building.
I am working with ros humble distribution on ubuntu 22.04. If you need any other information, feel free to tell me.
Thnaks !