ESP-MDF 阿里云test程序编译找不到coap.h文件

banmian
Posts: 4
Joined: Sun Feb 19, 2023 10:11 am

ESP-MDF 阿里云test程序编译找不到coap.h文件

Postby banmian » Sun Feb 19, 2023 10:16 am

[1076/1101] Building C object esp-idf/aliyun_sdk/CMakeFiles/__idf_aliyun_sdk.dir/coap/aliyun_coap.c.obj
FAILED: esp-idf/aliyun_sdk/CMakeFiles/__idf_aliyun_sdk.dir/coap/aliyun_coap.c.obj
ccache D:\Professional\ESP32\Espressif4\tools\xtensa-esp32-elf\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DHAVE_CONFIG_H -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DWITH_POSIX -IE:/Project/ESP_Project/test/build/config -ID:/Professional/ESP32/esp-mdf/components/third_party/aliyun_sdk/include -ID:/Professional/ESP32/esp-mdf/components/third_party/aliyun_sdk/coap/include -ID:/Professional/ESP32/esp-mdf/components/third_party/aliyun_sdk/message/include -ID:/Professional/ESP32/esp-mdf/components/third_party/aliyun_sdk/mqtt/include -ID:/Professional/ESP32/esp-mdf/components/third_party/aliyun_sdk/ota/include -ID:/Professional/ESP32/esp-mdf/components/third_party/aliyun_sdk/platform/include -ID:/Professional/ESP32/esp-mdf/components/third_party/aliyun_sdk/sign/include -ID:/Professional/ESP32/esp-mdf/components/third_party/aliyun_sdk/platform/mdf -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/newlib/platform_include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/freertos/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/freertos/include/esp_additions/freertos -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/freertos/port/xtensa/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/freertos/include/esp_additions -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_hw_support/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_hw_support/include/soc -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_hw_support/include/soc/esp32 -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_hw_support/port/esp32/. -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_hw_support/port/esp32/private_include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/heap/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/log/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/lwip/include/apps -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/lwip/include/apps/sntp -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/lwip/lwip/src/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/lwip/port/esp32/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/lwip/port/esp32/include/arch -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/soc/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/soc/esp32/. -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/soc/esp32/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/hal/esp32/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/hal/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/hal/platform_port/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_rom/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_rom/include/esp32 -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_rom/esp32 -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_common/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_system/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_system/port/soc -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_system/port/public_compat -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp32/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/xtensa/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/xtensa/esp32/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/driver/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/driver/esp32/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_pm/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_ringbuf/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/efuse/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/efuse/esp32/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/vfs/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_wifi/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_event/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_netif/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_eth/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/tcpip_adapter/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_phy/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_phy/esp32/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_ipc/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/app_trace/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_timer/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/mbedtls/port/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/mbedtls/mbedtls/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/mbedtls/esp_crt_bundle/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/app_update/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/spi_flash/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/bootloader_support/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/nvs_flash/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_http_client/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/nghttp/port/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/nghttp/nghttp2/lib/includes -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/json/cJSON -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/mqtt/esp-mqtt/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/tcp_transport/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp-tls -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp-tls/esp-tls-crypto -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/coap/port/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/coap/libcoap/include -ID:/Professional/ESP32/esp-mdf/components/mcommon/include -ID:/Professional/ESP32/esp-mdf/components/mwifi/include -ID:/Professional/ESP32/esp-mdf/components/third_party/miniz -ID:/Professional/ESP32/esp-mdf/components/mlink/include -ID:/Professional/ESP32/esp-mdf/components/mespnow/include -ID:/Professional/ESP32/esp-mdf/components/mupgrade/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/mdns/include -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/console -ID:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4/components/esp_http_server/include -ID:/Professional/ESP32/esp-mdf/components/mconfig/include -mlongcalls -Wno-frame-address -g -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -fmacro-prefix-map=E:/Project/ESP_Project/test=. -fmacro-prefix-map=D:/Professional/ESP32/Espressif4/frameworks/esp-idf-v4.4.4=IDF -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -fno-jump-tables -fno-tree-switch-conversion -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.4.4-dirty\" -DMDF_VER=\"v1.0-158-g8d0b79a-dirty\" -DESP_PLATFORM -D_POSIX_READER_WRITER_LOCKS -MD -MT esp-idf/aliyun_sdk/CMakeFiles/__idf_aliyun_sdk.dir/coap/aliyun_coap.c.obj -MF esp-idf\aliyun_sdk\CMakeFiles\__idf_aliyun_sdk.dir\coap\aliyun_coap.c.obj.d -o esp-idf/aliyun_sdk/CMakeFiles/__idf_aliyun_sdk.dir/coap/aliyun_coap.c.obj -c D:/Professional/ESP32/esp-mdf/components/third_party/aliyun_sdk/coap/aliyun_coap.c
D:/Professional/ESP32/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"
^~~~~~~~
compilation terminated.
  1. [size=150][/size]

Who is online

Users browsing this forum: No registered users and 10 guests