致命错误:msgsps_common.h:没有这样的文件或目录

时间:2016-10-14 01:04:10

标签: c include-path

当我尝试使用MQTT(MOSQUITTO)构建我的C项目时,我收到了这个错误:“

make all 
Building file: ../mosquitto/test/msgsps_pub.c
Invoking: GCC C Compiler
gcc -I"/home/procifalus/workspace/C-Cplusplus/protheus/mosquitto" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"mosquitto/test/msgsps_pub.d" -MT"mosquitto/test/msgsps_pub.d" -o "mosquitto/test/msgsps_pub.o" "../mosquitto/test/msgsps_pub.c"
../mosquitto/test/msgsps_pub.c:9:27: fatal error: msgsps_common.h: No such file or directory
 #include <msgsps_common.h>
                           ^
compilation terminated.
mosquitto/test/subdir.mk:45: recipe for target 'mosquitto/test/msgsps_pub.o' failed
make: *** [mosquitto/test/msgsps_pub.o] Error 1".

有人可以帮助我吗?

0 个答案:

没有答案