We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装时编译报错 找不test文件夹也找不到 mqtt_config.h 头文件 cp: cannot stat '/home/jireh/somelibs/mqttclient/test/*.h': No such file or directory gcc -c -g -fpic -I. -Iinclude -lpthread -I/home/jireh/somelibs/mqttclient/common -I/home/jireh/somelibs/mqttclient/common/log -I/home/jireh/somelibs/mqttclient/network/mbedtls/include -I/home/jireh/somelibs/mqttclient/network/mbedtls/include/mbedtls -I/home/jireh/somelibs/mqttclient/network/mbedtls/wrapper -I/home/jireh/somelibs/mqttclient/mqtt -I/home/jireh/somelibs/mqttclient/mqttclient -I/home/jireh/somelibs/mqttclient/network -I/home/jireh/somelibs/mqttclient/platform/linux -I/home/jireh/somelibs/mqttclient/test /home/jireh/somelibs/mqttclient/common/mqtt_list.c -o /home/jireh/somelibs/mqttclient/common/mqtt_list.o gcc -c -g -fpic -I. -Iinclude -lpthread -I/home/jireh/somelibs/mqttclient/common -I/home/jireh/somelibs/mqttclient/common/log -I/home/jireh/somelibs/mqttclient/network/mbedtls/include -I/home/jireh/somelibs/mqttclient/network/mbedtls/include/mbedtls -I/home/jireh/somelibs/mqttclient/network/mbedtls/wrapper -I/home/jireh/somelibs/mqttclient/mqtt -I/home/jireh/somelibs/mqttclient/mqttclient -I/home/jireh/somelibs/mqttclient/network -I/home/jireh/somelibs/mqttclient/platform/linux -I/home/jireh/somelibs/mqttclient/test /home/jireh/somelibs/mqttclient/common/random.c -o /home/jireh/somelibs/mqttclient/common/random.o gcc -c -g -fpic -I. -Iinclude -lpthread -I/home/jireh/somelibs/mqttclient/common -I/home/jireh/somelibs/mqttclient/common/log -I/home/jireh/somelibs/mqttclient/network/mbedtls/include -I/home/jireh/somelibs/mqttclient/network/mbedtls/include/mbedtls -I/home/jireh/somelibs/mqttclient/network/mbedtls/wrapper -I/home/jireh/somelibs/mqttclient/mqtt -I/home/jireh/somelibs/mqttclient/mqttclient -I/home/jireh/somelibs/mqttclient/network -I/home/jireh/somelibs/mqttclient/platform/linux -I/home/jireh/somelibs/mqttclient/test /home/jireh/somelibs/mqttclient/common/log/format.c -o /home/jireh/somelibs/mqttclient/common/log/format.o In file included from /home/jireh/somelibs/mqttclient/common/log/salof_defconfig.h:11, from /home/jireh/somelibs/mqttclient/common/log/format.c:9: /home/jireh/somelibs/mqttclient/common/log/salof_config.h:12:10: fatal error: mqtt_config.h: No such file or directory 12 | #include "mqtt_config.h" | ^~~~~~~~~~~~~~~ compilation terminated.
cp: cannot stat '/home/jireh/somelibs/mqttclient/test/*.h': No such file or directory gcc -c -g -fpic -I. -Iinclude -lpthread -I/home/jireh/somelibs/mqttclient/common -I/home/jireh/somelibs/mqttclient/common/log -I/home/jireh/somelibs/mqttclient/network/mbedtls/include -I/home/jireh/somelibs/mqttclient/network/mbedtls/include/mbedtls -I/home/jireh/somelibs/mqttclient/network/mbedtls/wrapper -I/home/jireh/somelibs/mqttclient/mqtt -I/home/jireh/somelibs/mqttclient/mqttclient -I/home/jireh/somelibs/mqttclient/network -I/home/jireh/somelibs/mqttclient/platform/linux -I/home/jireh/somelibs/mqttclient/test /home/jireh/somelibs/mqttclient/common/mqtt_list.c -o /home/jireh/somelibs/mqttclient/common/mqtt_list.o gcc -c -g -fpic -I. -Iinclude -lpthread -I/home/jireh/somelibs/mqttclient/common -I/home/jireh/somelibs/mqttclient/common/log -I/home/jireh/somelibs/mqttclient/network/mbedtls/include -I/home/jireh/somelibs/mqttclient/network/mbedtls/include/mbedtls -I/home/jireh/somelibs/mqttclient/network/mbedtls/wrapper -I/home/jireh/somelibs/mqttclient/mqtt -I/home/jireh/somelibs/mqttclient/mqttclient -I/home/jireh/somelibs/mqttclient/network -I/home/jireh/somelibs/mqttclient/platform/linux -I/home/jireh/somelibs/mqttclient/test /home/jireh/somelibs/mqttclient/common/random.c -o /home/jireh/somelibs/mqttclient/common/random.o gcc -c -g -fpic -I. -Iinclude -lpthread -I/home/jireh/somelibs/mqttclient/common -I/home/jireh/somelibs/mqttclient/common/log -I/home/jireh/somelibs/mqttclient/network/mbedtls/include -I/home/jireh/somelibs/mqttclient/network/mbedtls/include/mbedtls -I/home/jireh/somelibs/mqttclient/network/mbedtls/wrapper -I/home/jireh/somelibs/mqttclient/mqtt -I/home/jireh/somelibs/mqttclient/mqttclient -I/home/jireh/somelibs/mqttclient/network -I/home/jireh/somelibs/mqttclient/platform/linux -I/home/jireh/somelibs/mqttclient/test /home/jireh/somelibs/mqttclient/common/log/format.c -o /home/jireh/somelibs/mqttclient/common/log/format.o In file included from /home/jireh/somelibs/mqttclient/common/log/salof_defconfig.h:11, from /home/jireh/somelibs/mqttclient/common/log/format.c:9: /home/jireh/somelibs/mqttclient/common/log/salof_config.h:12:10: fatal error: mqtt_config.h: No such file or directory 12 | #include "mqtt_config.h" | ^~~~~~~~~~~~~~~ compilation terminated.
The text was updated successfully, but these errors were encountered:
生成动态库失败
Sorry, something went wrong.
新版本test目录更改为了example,执行make-libmqttclient.sh编译需要依赖mqtt_config.h,此头文件位于example和config目录,可以将make-libmqttclient.sh 使用test的地方 改为config,即可编译成功。
No branches or pull requests
安装时编译报错 找不test文件夹也找不到 mqtt_config.h 头文件
cp: cannot stat '/home/jireh/somelibs/mqttclient/test/*.h': No such file or directory gcc -c -g -fpic -I. -Iinclude -lpthread -I/home/jireh/somelibs/mqttclient/common -I/home/jireh/somelibs/mqttclient/common/log -I/home/jireh/somelibs/mqttclient/network/mbedtls/include -I/home/jireh/somelibs/mqttclient/network/mbedtls/include/mbedtls -I/home/jireh/somelibs/mqttclient/network/mbedtls/wrapper -I/home/jireh/somelibs/mqttclient/mqtt -I/home/jireh/somelibs/mqttclient/mqttclient -I/home/jireh/somelibs/mqttclient/network -I/home/jireh/somelibs/mqttclient/platform/linux -I/home/jireh/somelibs/mqttclient/test /home/jireh/somelibs/mqttclient/common/mqtt_list.c -o /home/jireh/somelibs/mqttclient/common/mqtt_list.o gcc -c -g -fpic -I. -Iinclude -lpthread -I/home/jireh/somelibs/mqttclient/common -I/home/jireh/somelibs/mqttclient/common/log -I/home/jireh/somelibs/mqttclient/network/mbedtls/include -I/home/jireh/somelibs/mqttclient/network/mbedtls/include/mbedtls -I/home/jireh/somelibs/mqttclient/network/mbedtls/wrapper -I/home/jireh/somelibs/mqttclient/mqtt -I/home/jireh/somelibs/mqttclient/mqttclient -I/home/jireh/somelibs/mqttclient/network -I/home/jireh/somelibs/mqttclient/platform/linux -I/home/jireh/somelibs/mqttclient/test /home/jireh/somelibs/mqttclient/common/random.c -o /home/jireh/somelibs/mqttclient/common/random.o gcc -c -g -fpic -I. -Iinclude -lpthread -I/home/jireh/somelibs/mqttclient/common -I/home/jireh/somelibs/mqttclient/common/log -I/home/jireh/somelibs/mqttclient/network/mbedtls/include -I/home/jireh/somelibs/mqttclient/network/mbedtls/include/mbedtls -I/home/jireh/somelibs/mqttclient/network/mbedtls/wrapper -I/home/jireh/somelibs/mqttclient/mqtt -I/home/jireh/somelibs/mqttclient/mqttclient -I/home/jireh/somelibs/mqttclient/network -I/home/jireh/somelibs/mqttclient/platform/linux -I/home/jireh/somelibs/mqttclient/test /home/jireh/somelibs/mqttclient/common/log/format.c -o /home/jireh/somelibs/mqttclient/common/log/format.o In file included from /home/jireh/somelibs/mqttclient/common/log/salof_defconfig.h:11, from /home/jireh/somelibs/mqttclient/common/log/format.c:9: /home/jireh/somelibs/mqttclient/common/log/salof_config.h:12:10: fatal error: mqtt_config.h: No such file or directory 12 | #include "mqtt_config.h" | ^~~~~~~~~~~~~~~ compilation terminated.
The text was updated successfully, but these errors were encountered: