ros@ros-virtual-machine:~/catkin_ctr$ catkin_make --pkg jiangluo Base path: /home/ros/catkin_ctr Source space: /home/ros/catkin_ctr/src Build space: /home/ros/catkin_ctr/build Devel space: /home/ros/catkin_ctr/devel Install space: /home/ros/catkin_ctr/install #### #### Running command: "make cmake_check_build_system" in "/home/ros/catkin_ctr/build" #### #### #### Running command: "make -j4 -l4" in "/home/ros/catkin_ctr/build/jiangluo" #### ros@ros-virtual-machine:~/catkin_ctr$ rospack find jiangluo [rospack] Error: package 'jiangluo' not found
时间: 2023-09-14 07:03:47 浏览: 199
安装ros需要的catkin
根据你的输出信息,可能是因为你的工作空间没有重新加载。请尝试按照以下步骤操作:
1. 在终端中输入以下命令,激活你的工作空间:
```
source ~/catkin_ctr/devel/setup.bash
```
如果你的工作空间不在`~/catkin_ctr`,请将命令中的路径替换为你的工作空间路径。
2. 然后,重新编译你的工作空间:
```
cd ~/catkin_ctr
catkin_make
```
或者,只编译`jiangluo`包:
```
cd ~/catkin_ctr
catkin_make --pkg jiangluo
```
3. 最后,使用以下命令确认`jiangluo`包是否存在:
```
rospack find jiangluo
```
如果输出了包的路径,则说明该包已经安装成功。
阅读全文