-
Notifications
You must be signed in to change notification settings - Fork 8
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
Build error #2
Comments
Hi, |
Hi @SpaceTeddy @g7kse, I managed to solve the problems by declaring explicit path of the lv_conf.h. Please see the picture below: Hope you find it helpful, Thanks! |
Its still a full on complain from my system. There must be some other issues with paths in there somewhere. I'd pretty much given up on this before so thanks for the clarification. |
lvgl uses some weird automatic to find the lv_conf.h include. I also use a manual definition:
|
I had the same error, but was able to do it by manually writing the path. I will say though, that at first, even though I fully wrote out the path, it was being truncated and STILL couldn't find the file. So I went ahead and moved the file into c:/users/me/ directory and manually wrote that in, and THEN it was able to compile. I don't think I had any other issues that I can recall, but I'll be happy to help if you're still unable to compile it.
|
For me the issue seemed to be with the macro replacement
was getting replaced by C:UsersMikeDocumentsvscode-projectsTRGB-exampleinclude/lv_conf.h and was missing all of the slashes
EDIT: also note that PlatformIO did not seem to like a directory paths with spaces in it, I originally had the projects folder named "vscode projects" but the macro seemed to stop at the space and would get replaced by "C:UsersMikeDocumentsvscode" still no slashes but it did show that there is and issue with spaces in the path as well. |
I'm pretty sure its something I've done as I'm not familiar with PlatformIO. But, I thought I faithfully followed the instructions but it looks like I've come unstuck here and after a bit of going round in circles I thought I'd check the instructions.Particularly around the lv_conf.h note in issue#1
Screen looks a bit like this...
I would appreciate a bit of guidance to help cure the problems. Terminal output seems to have a few errors.
Looks o me that DateTime library and lvgl libraries are not being pulled in. I did add them to the .ini but that didn't fix it entirely but did get rid of a couple.
for reference I used this modified ini file
The leftover errors are:
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/home/alex/Documents/PlatformIO/Projects/TRGB Clock/src/main.cpp).
and
cannot open source file "../../lv_conf.h" (dependency of "TRGBSuppport.h")
The full output from the terminal is:
The text was updated successfully, but these errors were encountered: