Catkin unable to include custom libraries
报错内容:
/home/firefly/eai_ws/src/square/square_goal_service/src/service_server.cpp:3:53:
fatal error: square_goal_service/square_goal_service.h: No such file or directory
没有那个文件或目录
#include <square_goal_service/square_goal_service.h>
首先查找头文件(file)是否存在
You should create a folder named include/ < name of package > / (include/proj_utils in your case) where you put all the header files (*.hpp) of the package.
但是实际上该文件是存在的,那么查看是否告诉了编译器文件的路径!
其次路径是否设置正确(directory)
Then the package that exports the library should have the following in the CMakeLists to be able to export the header files:
catkin_pa