esp32 移植阿里云sdk 编译报错

梦笑真美123
Posts: 3
Joined: Fri May 21, 2021 1:21 am

esp32 移植阿里云sdk 编译报错

Postby 梦笑真美123 » Fri May 21, 2021 1:27 am

CMakelist.txt
set(include_dirs core core/sysdep core/utils)

file(GLOB c_sdk_srcs
"core/*.c"
"core/utils/*.c"
"core/sysdep/*.c"

"portfiles/aiot_port/*.c"
"external/*.c")

idf_component_register(SRCS ${c_sdk_srcs}
INCLUDE_DIRS "${include_dirs}"
REQUIRES mbedtls)







> Executing task: cmake -G Ninja .. <

-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
-- Checking Python dependencies...
Python requirements from d:\esp\requirements.txt are satisfied.
[0x7FFBA1D67FC0] ANOMALY: meaningless REX prefix used
Cannot parse CMake requirements line: __component_set_property(___idf_C-SDK REQUIRES "mbedtls;cxx;newlib;freertos;heap;log;lwip;soc;esp_rom;esp_common;esp_system;xtensa;esp32")

CMake Error at D:/esp/tools/cmake/component.cmake:240 (message):
Call Stack (most recent call first):
D:/esp/tools/cmake/build.cmake:405 (__component_get_requirements)
D:/esp/tools/cmake/project.cmake:395 (idf_build_process)
CMakeLists.txt:6 (project)


-- Configuring incomplete, errors occurred!
See also "D:/esp32/station/build/CMakeFiles/CMakeOutput.log".
终端进程“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command cmake -G Ninja ..”已终止,退出代码: 1。

终端将被任务重用,按任意键关闭。

esp-lqq
Posts: 3
Joined: Thu May 13, 2021 11:36 am

Re: esp32 移植阿里云sdk 编译报错

Postby esp-lqq » Tue Jun 08, 2021 6:50 am

你好:

ESP32 目前已有开源 aliyun sdk 提供,请参考。
https://github.com/espressif/esp-ali-smartliving

如果现有开源 sdk 存在问题与缺陷的地方您可以补充提出。

Who is online

Users browsing this forum: Google [Bot] and 14 guests