touchgfx 4.24 and RGB compression: linker error flushline
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-21 01:33 AM - edited ‎2024-07-21 01:35 AM
Hi,
just activated the compression for my bitmaps (Tgfx V4.24, CubeIDE 1.15.1)
- Touchgfx Designer generates all files fine.
- Simulation on Windows with VS works fine.
Moving to target results in linker error (3 times):
.text._ZN8touchgfx8LCD16bpp19DecompressorRGB_QOI16blitCopyARGB8888EPKhRKNS_4RectES6_h+0x31c): undefined reference to `touchgfx::paint::flushLine(unsigned long*, int)'
(and, of course, we did an refresh / clean / recompile)
By disabling the RGB decompression modul, linking is fine, but compressed bitmaps do no more work (of course):
FrontendApplicationBase.cpp:
comment this out in FrontendApplicationBase::FrontendApplicationBase constructor:
reinterpret_cast<touchgfx::LCD16bpp&>(touchgfx::HAL::lcd()).enableDecompressorRGB();
stm stuff: any hits?
Thanks!
- Labels:
-
TouchGFX
-
TouchGFX Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-23 03:33 AM
Hello @SEam72 ,
Did you created your project from the 4.24 version or you did a migration from an older version ?
BR,
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-23 05:20 AM - edited ‎2024-07-23 05:20 AM
Hi,
this is an upgrade from older version (started at 4.18).
Of course we deleted all the generated-dirs and touchgfx-dir, so everything is generated completly new without any old stuff.
We created a weak flushline() function, so the linker is satisfied, but we did not yet tested it with compressed pictures.
Thank you.
/ SE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-23 05:33 AM - edited ‎2024-07-23 05:34 AM
It might be an issue with how it's link in cube mx, there's the same issue here Solved: TouchGfx 4.24 linker problem - STMicroelectronics Community. It may solve the problem.
BR,
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-29 12:29 AM
We used CubeMX just for initial project setup, no more again because of different reasons.
But the flushline-function should be part of the TouchGFX-library, should'nt it? I don't see any reason why it maybe is part of CubeMX and why we there should be a need for CubeMX.
In which library or where as sourcecode is flusline() it implemented?
Thank you.