我正在使用CLion(C++ IDE)编辑ROS软件包。我能够通过打开
CMakeLists.txt
文件来打开软件包。但是,我遇到了一个错误:
我该如何解决这个问题?在对代码进行更改后,我是否能够在CLion中进行"FATAL_ERROR "find_package(catkin) failed. catkin was neither found in the workspace nor in the CMAKE_PREFIX_PATH. One reason may be that no ROS setup.sh was sourced before"
make
项目(如果可以,该如何操作),还是必须在单独的终端中运行catkin_make
?