cancel
Showing results for 
Search instead for 
Did you mean: 

Code generation fails with "rgb_compression" error after update 4.23.2 to 4.24.2

LucasTomalack
Visitor

Hello everyone,

I have recently updated my project's TouchGFX version from 4.23.2 to 4.24.0. After the migration, I am no longer able to generate code from the TouchGFX Designer.

The process fails during the "Generate Assets" step every time I click "Generate Code". I receive the following error message in the log:

LucasTomalack_0-1750689354532.png

The error points to the rgb_compression setting. I have checked my application.config file, and the configuration is set to "no", as shown below:

What I have tried so far:

  1. Manually changing the rgb_compression value in application.config to something else and then back to "no".
  2. Deleting the generated folder and trying to regenerate everything.
  3. Running "make clean" from the simulator directory.
  4. I reinstalled it in version 4.24.2.

None of these steps have resolved the issue. It seems like the asset generator in version 4.24.0 is either misinterpreting this valid setting or there's a new required configuration that I'm missing after the update.

Could someone please advise on what might be causing this? Is this a known issue with the 4.24.0 update? Are there any other steps I should take to debug this?

Thank you for your help!

1 REPLY 1
LucasTomalack
Visitor

The application.config:
{
"image_configuration": {
"dither_algorithm": "1",
"alpha_dither": "yes",
"layout_rotation": "0",
"opaque_image_format": "RGB888",
"nonopaque_image_format": "ARGB8888",
"l8_compression": "no",
"section": "ExtFlashSection",
"extra_section": "ExtFlashSection",
"images": {
"aa_boot.png": {
"extra_section": "ExtFlashSectionBoot",
"section": "ExtFlashSectionBoot"
},
"conexao.png": {
"format": "L8_ARGB8888"
},
"FundoMostradorCircular.png": {
"format": "L8_ARGB8888"
},
"FundoTecladoAlphaNum.png": {
"format": "L8_RGB888"
},
"logo_bkp.png": {
"section": "ExtFlashSectionBoot",
"extra_section": "ExtFlashSectionBoot"
},
"logo_img.png": {
"section": "ExtFlashSectionBoot",
"extra_section": "ExtFlashSectionBoot"
},
"meio.png": {
"format": "L8_ARGB8888"
},
"modalwindow_transp.png": {
"format": "L8_ARGB8888"
},
"modalwindow_transp800.png": {
"format": "L8_ARGB8888"
},
"placa.png": {
"format": "L8_ARGB8888"
},
"Vector 52.png": {
"format": "L8_ARGB8888"
}
},
"rgb_compression": "no"
},
"text_configuration": {
"remap": "yes",
"a4": "yes",
"binary_translations": "no",
"binary_fonts": "no",
"framebuffer_bpp": "24",
"font_format": "0"
}
}