The specified base path "/home/lmr/catkin_vins/src/test_pkg" contains a package but "catkin_make" must be invoked in the root of workspace
时间: 2024-04-16 14:27:22 浏览: 177
The error message you received indicates that you are trying to invoke the "catkin_make" command from a directory that is not the root of your Catkin workspace. To resolve this issue, you need to navigate to the root directory of your workspace before running "catkin_make".
The root directory of your Catkin workspace is the directory that contains the "src" folder, where your packages are located. Make sure you change to that directory in your terminal before running the "catkin_make" command.
For example, if your workspace is located at "/home/lmr/catkin_vins", you would need to navigate to that directory using the "cd" command:
```
cd /home/lmr/catkin_vins
```
Once you are in the correct directory, you can run "catkin_make" to build your packages successfully.
阅读全文