Can't compile ADF expamles

proggi_DE
Posts: 1
Joined: Tue Oct 01, 2019 1:52 pm

Can't compile ADF expamles

Postby proggi_DE » Tue Oct 01, 2019 2:28 pm

I setup my environment with "esp-idf-tools-setup-2.1.exe" under Windows 8. After that the IDF samples can be compiled and flashed without any problems.
Then I added the "esp-adf-master" folder into esp32 folder with the adf-sdk inside and added the environment variable "ADF_PATH" pointing to this folder. But I canot compile the samples without errors:
"CMake Error at C:/Users/test/Desktop/ESP32/esp-idf-v3.3/tools/cmake/component_utils.cmake:20 (message):
Required component esp-adf-libs is not found in any of the provided COMPONENT_DIRS"

I invoke just "idf.py build", as recommended in the getting started info. As to be read there, there is no need to use MSYS2 environment. But in the description of adding a path to the environment the is "export....".

Does anyone have a solution/explanation for that?
Why there is a subfolder "esp-idf" under "esp-adf-master"??

Using Windows 8, Phyton 3.7, actual stable versions of idf and adf.
Thanks in advance

chegewara
Posts: 815
Joined: Wed Jun 14, 2017 9:00 pm

Re: Can't compile ADF expamles

Postby chegewara » Sat Oct 12, 2019 5:56 pm

ESP-ADF currently is working with this esp-idf commit, thats why esp-idf folder is inside adf project:
https://github.com/espressif/esp-idf/tr ... ad161f2996

You need to change IDF_PATH to point this one inside ADF project or checkout your esp-idf to this commit.

Who is online

Users browsing this forum: No registered users and 0 guests