2022-11-04 08:36 AM
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?
2022-11-04 12:15 PM
Try in IDE right mouse click on project and choice Refresh ...
2022-11-04 12:18 PM
I did try this. Same issue occurred.
2022-11-04 12:42 PM
Then yourr project was created in TouchGFX and then imported into IDE and you found next bug ...
Projects created in IDE dont have this issue, and too dont have Run Target button active.
2022-11-04 12:48 PM
Sorry, I'm not sure what you mean, but I'll try to answer.
I hope this clarifies what my issue is.
2022-11-05 01:02 AM
Yes all clean, but normal steps for custom board and project is
And for solve your issue simply solve missing or problem in IDE config, For example your error say in MVP... try add include screen2.hpp ... Or show how you change startus screen ...