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

t265 cannot work with ros2 humble ?Cannot locate rosdep definition #3054

Open
yyh-young opened this issue Mar 20, 2024 · 1 comment
Open

Comments

@yyh-young
Copy link

yyh-young commented Mar 20, 2024

yyh@yyh-virtual-machine:~/ros2_ws$ colcon build
Starting >>> realsense2_camera_msgs
--- stderr: realsense2_camera_msgs
CMake Error at CMakeLists.txt:27 (find_package):
By not providing "Findament_cmake.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ament_cmake", but CMake did not find one.

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

ament_cmakeConfig.cmake
ament_cmake-config.cmake

Add the installation prefix of "ament_cmake" to CMAKE_PREFIX_PATH or set
"ament_cmake_DIR" to a directory containing one of the above files. If
"ament_cmake" provides a separate development package or SDK, be sure it
has been installed.
Failed <<< realsense2_camera_msgs [0.33s, exited with code 1]

Summary: 0 packages finished [0.57s]
1 package failed: realsense2_camera_msgs
1 package had stderr output: realsense2_camera_msgs
2 packages not processed

@masskro0
Copy link

masskro0 commented Jun 6, 2024

Did you source ROS before executing the above command? Like
source /opt/ros/humble/setup.bash
After that, you should be able to run colcon build

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

No branches or pull requests

2 participants