After Update to IDF version 4.3 - Ninja error due to missing "libwapi.a"

GrasMower
Posts: 1
Joined: Sun Apr 11, 2021 9:01 am

After Update to IDF version 4.3 - Ninja error due to missing "libwapi.a"

Postby GrasMower » Sun Apr 11, 2021 9:34 am

Hello,

I am working with VSCode and updated my IDF to version 4.3 but now i can't build any more.
The newProject was created with node.js in the IDF command line.

Code: Select all

C:\ProgrammerTools\ESP\Projects\newProject\newProject>idf.py build
Executing action: all (aliases: build)
Running ninja in directory c:\programmertools\esp\projects\newproject\newproject\build
Executing "ninja all"...
ninja: error: 'C:/ProgrammerTools/ESP/ESP-IDF/components/esp_wifi/lib/esp32/libwapi.a', needed by 'newProject.elf', missing and no known rule to make it
ninja failed with exit code 1
I don't even know what libwapi.a is, and i can't get any information by asking google what its purpose is.

Does anyone know how to solve this issue?

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: After Update to IDF version 4.3 - Ninja error due to missing "libwapi.a"

Postby ESP_Angus » Mon Apr 12, 2021 12:07 am

Hi Grasmower,

Try doing a "git submodule update --init --recursive" to get the latest version of the related libraries. (CMake prints a warning about this, but only the first time after changing the IDF version.)

Angus

Who is online

Users browsing this forum: No registered users and 9 guests