2023-01-27 05:38 AM
Hello,
I came to this issue, when I copied a TextArea (with one wildcard) from screen A to screen B. After code generation there is no corresponding c++ code for touchgfx::TypedText(...) generated.
The error report is:
error: 'T___SINGLEUSE_2HH2' was not declared in this scope; did you mean 'T___SINGLEUSE_TO32'?
117 | Unicode::snprintf(FenceNum_FrontBuffer, FENCENUM_FRONT_SIZE, "%s", touchgfx::TypedText(T___SINGLEUSE_2HH2).getText());
| ^~~~~~~~~~~~~~~~~~
| T___SINGLEUSE_TO32
If I just create new textArea on screen B, there is no such problem.
If I reopen the Designer project, I will find, the wildcard ID is missing. I need to create wildcard ID again. Then recompile the project, there is no error again.
PS: I didn't copy the TextArea in the same screen.
2023-01-30 01:59 AM
Hello @JPan.4,
I just tried it and I don't have any issue with wildcards.
Could you share your project please ?
/Yoann