Skip to main content
Associate
July 6, 2023
Solved

2 TouchGFX installations, each adds a second language, one creates LanguageDe.cpp, the other doesn't

  • July 6, 2023
  • 2 replies
  • 1323 views

We have two (nearly identical) PCs with TouchGFX Designer installed, and we're trying to add a second language (DE = German). On both PCs, TouchGFX Designer updates texts.xlsx when we click [Generate Code], so it seems as though both PCs are running TouchGFX Designer OK.

However, even though TouchGFX Designer correctly creates a LanguageDe.cpp on one PC, it does not create LanguageDe.cpp on the other PC. So it seems as though the two PCs are configured slightly differently.

What is TouchGFX Designer doing to create LanguageDe.cpp? Does this process rely on any external tools or particular configuration? What might be causing this to go wrong on one but not the other? Is there a way to enable more verbose logging (temporarily)?

Both PCs are running TouchGFX Designer 4.16.0.

PS: I looked at the TouchGFXDesigner.log file in AppData\Roaming, but the only log messages there were:

2023-07-06 17:49:49,570 [1] DEBUG TouchGFXDomainModel.LoadSave.Excel.ExcelHandler: Parsing done. Last text row: 179, last typ row: 12
2023-07-06 17:49:49,570 [1] DEBUG TouchGFXDomainModel.LoadSave.Excel.ExcelHandler: Valid text file.
2023-07-06 17:49:49,586 [1] DEBUG TouchGFXDomainModel.LoadSave.Excel.ExcelHandler: Parsing done. Last text row: 179, last typ row: 12

    This topic has been closed for replies.
    Best answer by nickpelling

    Hi Yoann,

    I found the problem - TouchGFX includes some *.out files (that it somehow relies on when you regenerate the code), which our team had inadvertently added to .gitignore and removed from the repo. Reinstating the files fixed the issue (phew).

    Thanks, Nick

    2 replies

    Yoann KLEIN
    ST Employee
    July 13, 2023

    Hello @nickpelling,

     

    Could you please update your project to the latest TouchGFX version ? (4.22.0).

    That could probably solve the issue.

    Those assets are generated by some scripts that we call the TextConverter, but that should work without any particular configuration or setting.

     

    Let me know how it is going :)

    Yoann KLEINST Software Developer | TouchGFX
    nickpellingAuthorBest answer
    Associate
    July 21, 2023

    Hi Yoann,

    I found the problem - TouchGFX includes some *.out files (that it somehow relies on when you regenerate the code), which our team had inadvertently added to .gitignore and removed from the repo. Reinstating the files fixed the issue (phew).

    Thanks, Nick