Open luotianzhu123 opened 2 years ago
编译其他项目没有错误,编译esp-mdf\examples\aliyun_linkkit\mesh-with-aliyun时出现下面的错误
W:/esp-mdf/components/third_party/aliyun_sdk/coap/aliyun_coap.c:16:10: fatal error: coap.h: No such file or directory #include "coap.h" ^~~~~~~~
W:/esp-mdf/components/third_party/aliyun_sdk/coap/aliyun_coap.c:16:10: fatal error: coap.h: No such file or directory
#include "coap.h"
^~~~~~~~
@luotianzhu123 这是因为 idf 库下的 coap 发生了变化导致的 详细的请查看 componets 链接:https://github.com/espressif/esp-idf/tree/release/v4.4/components/coap/port/include/coap3
看一下这个路径,你可以将其 coap/aliyun_coap.c下的改为:
看是否可以?
编译其他项目没有错误,编译esp-mdf\examples\aliyun_linkkit\mesh-with-aliyun时出现下面的错误
W:/esp-mdf/components/third_party/aliyun_sdk/coap/aliyun_coap.c:16:10: fatal error: coap.h: No such file or directory
#include "coap.h"
^~~~~~~~