make flash 出错,请问怎么解决
Project is not inside a git repository, will not use 'git describe' to determine PROJECT_VER.
App "esp-adf-master" version: 1
CC build/app_update/esp_app_desc.o
CC build/app_update/esp_ota_ops.o
AR build/app_update/libapp_update.a
CXX build/asio/asio/asio/src/asio.o
In file included from d:\esp32\msys32\opt\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\cstdlib:75,
from d:\esp32\msys32\opt\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\ext\string_conversions.h:41,
from d:\esp32\msys32\opt\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\bits\basic_string.h:6391,
from d:\esp32\msys32\opt\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\8.2.0\string:52,
from D:/esp32/esp-idf-v3.3/components/asio/asio/asio/include/asio/impl/error.ipp:19,
from D:/esp32/esp-idf-v3.3/components/asio/asio/asio/include/asio/impl/src.hpp:22,
from D:/esp32/esp-idf-v3.3/components/asio/asio/asio/src/asio.cpp:11:
d:\esp32\msys32\opt\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\stdlib.h:155:44: error: expected initializer before '__result_use_check'
void *reallocarray(void *, size_t, size_t) __result_use_check __alloc_size(2)
^~~~~~~~~~~~~~~~~~
d:\esp32\msys32\opt\xtensa-esp32-elf\xtensa-esp32-elf\sys-include\stdlib.h:340:52: error: expected initializer before '__alloc_align'
void * aligned_alloc(size_t, size_t) __malloc_like __alloc_align(1)
^~~~~~~~~~~~~
make[1]: *** [/d/esp32/esp-idf-v3.3/make/component_wrapper.mk:290:asio/asio/src/asio.o] 错误 1
make: *** [D:/esp32/esp-idf-v3.3/make/project.mk:552:component-asio-build] 错误 2
make flash 出错
Re: make flash 出错
你的编译器是啥版本? ADF现在支持的编译器是IDF release v3.2里面支持的编译器版本。
Who is online
Users browsing this forum: No registered users and 26 guests