Export files in v1.3 - compile errors

Hi guys,

I recently updated from v1.2.3 to v1.3 and noticed the change of project structure in the exported files.
For some reason, I am getting some “undefined reference to” errors. I tried moving all files into 1 folder, I get rid of the screens errors, but I still get undefined reference errors on a few images (images that are inside some screens).

I searched around on the forum and docs but no luck.
Any help is much appreciated and needed, thank you!



What do you want to achieve?

Upload new build on ESP32-S3

What have you tried so far?

Searching the forum, some path modifications and shuffled files around

Screenshot or video

Attached above


  • SquareLine Studio version: 1.3
  • Operating system: OS X 12.5
  • Target hardware: ESP32-S3


did you set the sketchbook location as described in the README of the exported project?

Hi Gabor,

Thank you for your reply. I’m afraid I do not find any README file in the exported files or anywhere in the docs. I only see a CMakeList.txt and filelist.txt



Ahh, I see the problem now. For Arduino, you need to export an Arduino project first. Due to the limitations of the Arduino build system, we need to export the UI code as a library. So please go to the “Project settings” and select “Arduino with TFT_eSPI” to get the initial project structure.

Hi @kisvegabor,

I have the settings as you suggested, but still nothing. I am using LovyanGFX instead of TFT_eSPI, but Lovyan is based on TFT_eSPI, I don’t think it matters.


Attached is a screenshot of my project structure.

Notice that my .ino is in the root folder. And I copy the Export-Files in the root so they are at the same level with the .ino. The “SquareLine-Studio” folder has the SLS project files (source, export, assets, etc.)


You should export a a template project first to get an initial Arduino project structure. (Export → Create Template project).

1 Like

Ahh ok, makes sense.
I set the Sketchbook location like in README and copied some of my libraries in this new local “libraries” folder. It seems to work.

Thank you for your help as always!

Hi @kisvegabor,

Although it seems to work, I get an error after sketch is uploaded:
Invalid library found in <my_path>/MyProject-UI/libraries/ui: Missing ‘maintainer’ from library

And the LCD is black, nothing loads. I can see it flashing as before, but nothing is rendered.
I tried to move all the libraries I had before into this local libraries folder, but no luck.

Maybe this project structure is not working with LovyanGFX library?
I would be reluctant to downgrade just so it can work like before, because in the future I would like to keep the project up-to-date.

Any clues? Thank you.

I managed to fix it by moving everything to Documents/Arduino/libraries. But still not sure why it doesn’t work in the other case (even if I moved all libraries).

After some more trying and Arduino restart, it seems to work in project path (MyProject-UI/libraries) as well.

Finally does the display work too or on the compilation?

1 Like

Display works, all good as before. I also updated the LovyanGFX from 0.4 to 1.1 and have the latest lvgl

1 Like