ros2 / launch

Tools for launching multiple processes and for writing tests involving multiple processes.
Apache License 2.0
126 stars 144 forks source link

Cant build launch_testing_ament_cmake #800

Closed wscott20 closed 3 weeks ago

wscott20 commented 1 month ago

Every time I try to colcon build launch_teting_ament_cmake it keeps on saying

CMake Error at CMakeLists.txt:24 (message):
  launch_testing package not found

---
Failed   <<< launch_testing_ament_cmake [11.6s, exited with code 1]

No matter what I try it won't build it even after colcon builds and installs launch_testing

Bug report

Required Info:

Steps to reproduce issue

mkdir -p ros2_ws/src
cd ros2_ws
vcs import --input https://raw.githubusercontent.com/ros2/ros2/jazzy/ros2.repos src
(maybe remove unnecessary packages that arentneeded to build for rclpy and ros2cli)
colcon build
#### Expected behavior
being able to build everything and source install/setup.bash and run ros2 commands
#### Actual behavior

Starting >>> launch_testing_ament_cmake --- stderr: launch_testing_ament_cmake
CMake Error at CMakeLists.txt:24 (message): launch_testing package not found


Failed <<< launch_testing_ament_cmake [2.57s, exited with code 1]


#### Additional information
tried on humble and jazzy
cottsay commented 3 weeks ago

Hi @wscott20, was this resolved by straightening out the Python/Conda issues we discussed in Discord, or is this still a problem for you?

wscott20 commented 3 weeks ago

I got it working via docker

cottsay commented 3 weeks ago

I see, thanks for the response.

Without more information about the environment in which you're seeing this issue, I'm not able to reproduce the error you're seeing. If you decide you'd like to continue debugging this issue, please feel free to re-open the ticket and provide more information about your system that might help us pinpoint what's triggering the misbehavior.

Thanks!