小编Cao*_*ire的帖子

colcon 构建失败:“找不到“ament_cmake”提供的包配置文件”

感谢任何帮助:我只是想在运行 ubuntu 的虚拟机上安装 Colcon,并且我正在使用此命令:colcon build --symlink-install 我收到此错误:

Starting >>> sick_scan2
--- stderr: sick_scan2
CMake Error at CMakeLists.txt:24 (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 …
Run Code Online (Sandbox Code Playgroud)

ubuntu

2
推荐指数
1
解决办法
7539
查看次数

标签 统计

ubuntu ×1