I hope there is enough here for someone to identify the problem.
Tool versions and comments below.
(bild-lvgl) rich@RG-x360:~/lvgl/lv_micropython$ make V=1 -C ports/esp32 LV_CFLAGS="-DLV_COLOR_DEPTH=16 -DLV_COLOR_16_SWAP=1" BOARD=GENERIC PYTHON=python2 deploy
make: Entering directory ‘/mnt/c/tpi-dev/lvgl/lv_micropython/ports/esp32’
Building with ESP IDF v4
find: ‘/home/rich/lvgl/esp/esp-idf/components/xtensa-debug-module/include’: No such file or directory
… loads of errors
/home/rich/lvgl/esp/esp-idf/components/cxx/cxx_exception_stubs.cpp:24:5:
printf("%s%s\n", FATAL_EXCEPTION, msg);
^~~~~~
/home/rich/lvgl/esp/esp-idf/components/cxx/cxx_exception_stubs.cpp: In function ‘void __cxx_fatal_exception_int(int)’:
/home/rich/lvgl/esp/esp-idf/components/cxx/cxx_exception_stubs.cpp:35:5: error: ‘printf’ was not declared in this scope
printf("%s (%d)\n", FATAL_EXCEPTION, i);
^~~~~~
/home/rich/lvgl/esp/esp-idf/components/cxx/cxx_exception_stubs.cpp:35:5: note: ‘printf’ is defined in header ‘’; did you forget to '#include '?
Makefile:770: recipe for target ‘build-GENERIC//home/rich/lvgl/esp/esp-idf/components/cxx/cxx_exception_stubs.o’ failed
make: *** [build-GENERIC//home/rich/lvgl/esp/esp-idf/components/cxx/cxx_exception_stubs.o] Error 1
make: Leaving directory ‘/mnt/c/tpi-dev/lvgl/lv_micropython/ports/esp32’
(bild-lvgl) rich@RG-x360:~/lvgl/lv_micropython$
Using Windows Subsystem for Linux…
BOARD is Adafruit HUZZAH32 – ESP32 Feather Board
$ printenv (not all)
HOSTTYPE=x86_64
LESSCLOSE=/usr/bin/lesspipe %s %s
LANG=C.UTF-8
OLDPWD=/home/rich/lvgl/lv_micropython
WSL_DISTRO_NAME=Ubuntu
VIRTUAL_ENV=/mnt/c/tpi-dev/lvgl/lv_micropython/bild-lvgl
IDF_TOOLS_PATH=/home/rich/lvgl/esp/esp-idf
USER=rich
IDF_TOOLS_EXPORT_CMD=/home/rich/lvgl/esp/esp-idf/export.sh
PWD=/home/rich
HOME=/home/rich
NAME=RG-x360
IDF_TOOLS_INSTALL_CMD=/home/rich/lvgl/esp/esp-idf/install.sh
OPENOCD_SCRIPTS=/home/rich/lvgl/esp/esp-idf/tools/openocd-esp32/v0.10.0-esp32-20190313/openocd-esp32/share/openocd/scripts
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
SHELL=/bin/bash
TERM=xterm-256color
SHLVL=1
IDF_PATH=/home/rich/lvgl/esp/esp-idf
LOGNAME=rich
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
$ git describe esp-idf version
v4.0-beta1
$ xtensa-esp32-elf-gcc --version
xtensa-esp32-elf-gcc (crosstool-NG esp32-2019r1) 8.2.0
$ cmake --version
cmake version 3.10.2
$ python -V
Python 2.7.17
$ python3 -V
Python 3.6.9
I am totally exhausted with trying to build these binaries.
I’ve been on other fourms. see PM-TPI
https://forum.micropython.org/viewtopic.php?f=3&t=7307
it says it all.
I would like to see the LittlevGl team make YouTube videos starting with installing and running ESP-IDF and LittlevGl tools.
Especially using WSL on Windows that is becoming very popular and easy.
Thanks