编译esp_adf例程失败

yuwenrong
Posts: 1
Joined: Sun May 26, 2019 12:48 am

编译esp_adf例程失败

Postby yuwenrong » Sun May 26, 2019 12:57 am

各位,请教问题,以前我的ESP-ADF是好用的,最近重新装了一下环境,现在ESP-IDF的例子编译没有问题,便是ESP-ADF的例子编译就报错,报错信息如下,请问如何解决?谢谢!
lenovo@lenovo-PC MINGW32 ~/esp/play_mp3
# make
Toolchain path: /opt/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a5
Compiler version: 5.2.0
Python requirements from D:/msys32/home/lenovo/esp/esp-idf/requirements.txt are satisfied.
CC build/audio_stream/http_stream.o
D:/msys32/home/lenovo/esp/esp-adf/components/audio_stream/http_stream.c: In function '_http_open':
D:/msys32/home/lenovo/esp/esp-adf/components/audio_stream/http_stream.c:501:9: error: implicit declaration of function 'esp_http_client_set_redirection' [-Werror=implicit-function-declaration]
esp_http_client_set_redirection(http->client);
^
cc1.exe: some warnings being treated as errors
make[1]: *** [/home/lenovo/esp/esp-idf/make/component_wrapper.mk:286:http_stream.o] 错误 1
make: *** [D:/msys32/home/lenovo/esp/esp-idf/make/project.mk:530:component-audio_stream-build] 错误 2

jason.mao
Posts: 98
Joined: Mon Nov 19, 2018 2:05 am

Re: 编译esp_adf例程失败

Postby jason.mao » Tue Jun 04, 2019 2:17 am

您好,
最新的ADF 更新了IDF到了release 3.2的版本,你的错误是IDF版本不匹配。
建议运行 git submodule update --init 同步IDF版本

Who is online

Users browsing this forum: No registered users and 74 guests