首先执行:
conda deactivate
然后对于ROS1工程编译:
catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3
对于ROS2工程则:
colcon build --cmake-args -DPYTHON_EXECUTABLE=/usr/bin/python3
首先执行:
conda deactivate
然后对于ROS1工程编译:
catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3
对于ROS2工程则:
colcon build --cmake-args -DPYTHON_EXECUTABLE=/usr/bin/python3