好像不对,我改了名字后做的操作不是colcon build,今天试着colcon build 了一下,发现还是不行,把ros2_21tutorials拿出dev-ws文件夹也不太行,求指教。colcon build[0.257s] ERROR:colcon:colcon build: Duplicate package names not supported:- learning_pkg_c: - src/l_pkg_c - src/ros2_21_tutorials/learning_pkg_c(t)- learning_pkg_python: - src/l_pkg_py - src/ros2_21_tutorials/learning_pkg_python(t)lzy@lzy-vpc:~/dev-ws$ 以上为改了名字后colcon buildStarting >>> learning_pkg_cCMake Error: The source directory "/home/lzy/dev-ws/src/ros2_21_tutorials/learning_pkg_c" does not exist.Specify --help for usage, or press the help button on the CMake GUI.gmake: *** [Makefile:226:cmake_check_build_system] 错误 1Failed <<< learning_pkg_c [0.26s, exited with code 2]上面是我把/ros2_21_tutorials移动到别的文件夹出的问题。
展示全文
第三方账号登入
QQ 微博 微信