M akefile:xxx : recipe for target ‘xxx’ failed
Reference link: https://blog.csdn.net/weixin_ 38294178/article/details/75274728
when compiling QT related programs with ROS, the following errors appear
solutions:
Put the header file outside QT in ifndef Q_ MOC_ Run # ENDIF
inside
#ifndef Q_MOC_RUN
//Add the relevant header files
#include
#endif
My situation is like this