还是不行
这是我删掉bashrc里那句话后重新开的终端进行编译的结果:
ros:foxy(1) noetic(2) ?
1
oem@oem-ThinkPad-X1-Yoga-3rd:~/ros2_town$ rm -r build/ log/ install/
oem@oem-ThinkPad-X1-Yoga-3rd:~/ros2_town$ colcon build --packages-select village_interfaces
Starting >>> village_interfaces
--- stderr: village_interfaces
make[1]: *** 没有规则可制作目标“village_interfaces__py/CMakeFiles/village_interfaces__py.dir/all”,由“CMakeFiles/village_interfaces__python.dir/all” 需求。 停止。
make[1]: *** 正在等待未完成的任务....
make: *** [Makefile:146:all] 错误 2
---
Failed <<< village_interfaces [2.33s, exited with code 2]
Summary: 0 packages finished [2.71s]
1 package failed: village_interfaces
1 package had stderr output: village_interfaces