Skip to content
New issue

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文件夹 #67

Open
jireh-H opened this issue Oct 21, 2022 · 2 comments
Open

安装时编译报错没有test文件夹 #67

jireh-H opened this issue Oct 21, 2022 · 2 comments

Comments

@jireh-H
Copy link

jireh-H commented Oct 21, 2022

安装时编译报错 找不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.

@1WMD1
Copy link

1WMD1 commented Jan 31, 2023

图片
生成动态库失败

@wuhaogs
Copy link
Contributor

wuhaogs commented Apr 29, 2023

新版本test目录更改为了example,执行make-libmqttclient.sh编译需要依赖mqtt_config.h,此头文件位于example和config目录,可以将make-libmqttclient.sh 使用test的地方 改为config,即可编译成功。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants