TouchGFX: CubeIDE Compiler Error when New Screen Added via TouchGFX Designer
Hello,
I generated code from the TouchGFX Designer 4.20.0 application, then added custom code afterwards to do the functions I required. I compile the code via the CubeIDE (NOT the TouchGFX Designer compiler) and it works without issue. All functions are working.
After this, I decided to add a new screen via the TouchGFX Designer. It's a simple start-up screen that just shows our company logo then transitions to the previous screen that I was working with. When I do that and hit the "Run Target" (to compile and run the code with the new screen), it works without issue. Both screens are there, my custom code that I put in the IDE still worked.
However, if I then jump to the IDE and try to compile/run it via the IDE, I get a compiler error that "Screen2View" does not exist. Specifically:
"undefined reference to `Screen2View::Screen2View()"
I'm unsure what the difference is. Can anyone help explain what's happening?