TouchGFX 4.22.1 TextKeysAndLanguages.hpp and others are missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-26 12:31 AM
Hi,
i'm using cubemx and updated from touchgfx 4.21.2 to 4.22.1 and also installed the newest touchgfx designer.
After regeneration of the project certain files like TextKeysAndLanguages.hpp are missing. So all my texts are missing.
i can see it in my git that these files were deleted
Also <fonts/ApplicationFontProvider.hpp> is missing and generates build errors
In TouchGFX designer i see all my texts and this is my text config (which i did not change after updating from the last version)
Any idea what might be the error?
Regards
- Labels:
-
TouchGFX
-
TouchGFX Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-31 5:06 AM
Hello @Jnevi.1 ,
All the text and different typographies are stored in a xml file under "assets -> texts" in TouchGFX project directory. The files that are deleted can be recreated by just regenerating your project from the TouchGFX Designer not the CubeMX. Updating the version of TouchGFX should not alter your assets and gui folders.
I hope this helps you, don't hesitate to ask more questions.
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-31 6:00 AM
Hi,
sorry for not making this clear: the error happens after regenerating with touchgfx 4.22.1
i update my cubemx...regeneration is fine.
i update touchgfx via cubeMX which gives me some errors(don't know if it is important)
i open my touchgfx project in designer 4.22.1 and regenrate *booom* files are deleted and not regenerated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-31 8:14 AM
Okay, it sounds pretty weird that CubeMX faces some problems.
Is it possible to try installing the new version (TouchGFX 4.22.1) manually from CubeMX -> Help -> Manage Embedded Software Packages, then under the STMicroelectronics tab, X-CUBE-TOUCHGFX section ?
After installing, open your project, then go to Software Packs -> Select Components and make sure the version 4.22.1 is selected.
And of course make sure you have a backup before applying these changes.
Good luck
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-31 8:53 AM
ok, the version was selected. But i did not notice the settings for touchgfx itself (resolution, pixel mode etc) were not set. After setting these again the files are generated.
But now i face this problem
https://community.st.com/t5/stm32-mcus-touch-gfx-and-gui/linker-error-after-upgrading-to-touchgfx-4-21-4/td-p/54197
compiling TouchGFXGeneratedHAL.cpp...
linking...
flamcento\flamcento.axf: Error: L6216E: Cannot use base/limit symbols for non-contiguous section .ARM.exidx
flamcento\flamcento.axf: Error: L6216E: Cannot use base/limit symbols for non-contiguous section .ARM.exidx
Finished: 0 information, 0 warning and 2 error messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-03 7:43 AM
I tried to replicate the process of updating a project from old version of TouchGFX to 4.22.1, and I didn't face any issues.
Can you send us your project, or at least a part of it that fails to see why issue is happening?
If it's not, please mention the version of the CubeMX you're using, the board or MCU, and the compiler.
Thanks
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-07 11:31 PM
will send you an PM
