Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #1

Open
gustavoportilla85 opened this issue Jan 2, 2023 · 4 comments
Open

Error #1

gustavoportilla85 opened this issue Jan 2, 2023 · 4 comments

Comments

@gustavoportilla85
Copy link

Hello, have problem
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '[email protected]:fablabnbg/TRGBArduinoSupport.git'

@euphi
Copy link
Member

euphi commented Jan 2, 2023

You need git installed in your platformio environment (or Visual Studio Code environment), so please install git.

This is because the library is not registered yet at platformio, so the example gives a direct github url. Platformio then uses git to install the library.

@gustavoportilla85
Copy link
Author

I give up...
there are many mistakes
Captura

@euphi
Copy link
Member

euphi commented Jan 4, 2023

That's not the complete error message. It seems to be related to lvgl.h.

Why did you copied lvgl.h to the include-directory? That should not be necessary (only lv_conf.h should be in include).

@pdominique
Copy link

pdominique commented Jan 13, 2023

Hi. I followed the instructions in the README and I'm trying to use your example but apparently the lv_conf.h file cannot be found:

In file included from .pio/libdeps/esp32-s3-devkitc-1/lvgl/src/misc/lv_log.h:16, from .pio/libdeps/esp32-s3-devkitc-1/lvgl/lvgl.h:25, from .pio/libdeps/esp32-s3-devkitc-1/TRGBArduinoSupport/src/TRGBSuppport.h:18, from src/main.cpp:1: .pio/libdeps/esp32-s3-devkitc-1/lvgl/src/misc/../lv_conf_internal.h:35:42: fatal error: C:UserspdomiCodeesp32TRGB_HelloWorldinclude/lv_conf.h: No such file or directory #include __LV_TO_STR(LV_CONF_PATH) ^ compilation terminated. *** [.pio\build\esp32-s3-devkitc-1\src\main.cpp.o] Error 1

The path to the lv_conf.h file seems to be missing a few /

EDIT: so first I tried to modify the DLV_CONF flag in platformio.ini

-DLV_CONF_INCLUDE_SIMPLE=${platformio.include_dir}/lv_conf.h

But I still had issues with undeclared fonts. So at the end I removed the DLV_CONF flag and copied the lv_conf.h file in .pio/libdeps and now it compiles without errors.

@g7kse g7kse mentioned this issue May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants