espressif/esp32-arduino-lib-builder

build lib v4.4 with option idf_libs failed

bhcuong2008 opened this issue · 2 comments

Hi,
I get lib builder branch release/v4.4, and build library for using in arduino-esp32 environment. I built with this command:
./build.sh -A idf-release/v4.4 -I release/v4.4 -i v4.4.5 -b idf_libs -t esp32s3 -c ../out_v4.4

And the result was:

make: *** No rule to make target 'idf_libs'.  Stop.
command "idf_libs" is not known to idf.py and is not a Unix Makefiles target

I check esp-idf v4.4 idf.py, https://github.com/espressif/esp-idf/blob/release/v4.4/tools/idf.py, found no command idf_libs.
So pls help me how to resolve this to build library for arduino-esp32?

Note, run with "-b build" is fine.

Thanks,
Cuong.

I found the difference. If running on Ubuntu 20.04, it is successful. But if running on Ubuntu 22.04 (desktop version), it failed.
I dont know why.

I know the reason due to lacking of ninja-build package on ubuntu 22.04.