Closed visued closed 1 year ago
Yes. The more recent version of Squareline Studio exports the screens UI files in the "screens" subdirectory instead of a flat directory.
You need to modify the main/CMakeLists.txt file to make sure it lists the additional files under the correct path:
idf_component_register(SRCS "main.cpp" "ui/ui.c" "ui/ui_helpers.c" "ui/screens/ui_Main_Screen.c" "ui/screens/ui_Splash_Screen.c"
I've just pushed a fix so a simple 'pull' on your end should fix the issue.
Squareline Studio generates a CMakeLists.txt file in the export directory that I'm sure there is a way for the higher level one to include and avoid all these explicit paths problems, but not being a experienced cmake user, I do not know the right way to do it.
Owww very thanks bro, works fine!
Hi, thanks for the guide bro,
I need help for the build project. This is my config for export path ui in squareline:
I I followed the steps described on your page, however, trying to execute the build command
idf.py build
is returning an error in the ui.c file when you need these methods:This is error in terminal:
Any idea how to solve this ?
Best regards