lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
237 stars 156 forks source link

fatal error: db.h: No such file or directory #209

Closed brotherYoung closed 2 years ago

brotherYoung commented 2 years ago

/home/bmp/lv_micropython/extmod/modbtree.c:37:10: fatal error: db.h: No such file or directory

include

      ^~~~~~

compilation terminated. Traceback (most recent call last): File "/home/bmp/lv_micropython/py/makeqstrdefs.py", line 188, in preprocess() File "/home/bmp/lv_micropython/py/makeqstrdefs.py", line 62, in preprocess for output in p.imap(pp(flags), chunks): File "/usr/lib/python3.8/multiprocessing/pool.py", line 868, in next raise value File "/usr/lib/python3.8/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, *kwds)) File "/home/bmp/lv_micropython/py/makeqstrdefs.py", line 46, in run return subprocess.check_output(args.pp + flags + files) File "/usr/lib/python3.8/subprocess.py", line 415, in check_output returworks fine with micropython (without lv_bindings)n run(popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.8/subprocess.py", line 516, in run

it works fine with micropython。 OS: ubuntu 20.04 LTS (WSL) idf: v4.2

looking forward to your reply,thanks.

amirgon commented 2 years ago

Please send questions to the forum.
https://forum.lvgl.io/c/micropython/8

wuyue92tree commented 2 years ago

I got this too. make -C ports/esp32 submodules is work for me.