The specified base path "/home/oem/ros" contains a CMakeLists.txt but "catkin_make" must be invoked in the root of workspace
时间: 2024-04-08 18:33:39 浏览: 159
NX二次开发UF-DRF-set-specified-sbf-file 函数介绍
It seems that you are encountering an issue with the specified base path and the invocation of "catkin_make". "catkin_make" should be invoked in the root directory of your workspace, rather than in a directory that contains a CMakeLists.txt file.
To resolve this issue, you will need to navigate to the root directory of your workspace, which is usually the directory that contains the "src" folder. Once you are in the correct directory, you can run the "catkin_make" command to build your ROS workspace.
Here's an example of how you can navigate to the root directory and run "catkin_make":
1. Open a terminal.
2. Change your current directory to the root directory of your workspace:
```
cd /home/oem/ros
```
3. Run "catkin_make":
```
catkin_make
```
Make sure to replace "/home/oem/ros" with the actual path to your workspace.
Let me know if you have any further questions!
阅读全文