Skip to main content
GLaca
Associate
November 15, 2020
Question

TouchGFX 4.15.0 Bad génération of TextKeysAndLanguages.hpp.

  • November 15, 2020
  • 1 reply
  • 672 views

After a basic modiication in my touchgfx project now the TextKeysAndLanguages.hpp is generate with only null car.

Before

* DO NOT EDIT THIS FILE */

/* This file is autogenerated by the text-database code generator */

#ifndef TEXTKEYSANDLANGUAGES_HPP

#define TEXTKEYSANDLANGUAGES_HPP

typedef enum

{

  GB,

  NUMBER_OF_LANGUAGES

} LANGUAGES;

typedef enum

{

  T_SINGLEUSEID1,

  T_SINGLEUSEID3,

  T_SINGLEUSEID5,

  T_SINGLEUSEID7,

  T_SINGLEUSEID9,

  T_SINGLEUSEID10,

  T_SINGLEUSEID12,

  T_SINGLEUSEID13,

  T_SINGLEUSEID14,

.....

....

And now only NULL car... :unamused_face:

 No issue on the generated code

Generate Code

  Generate

    Wrote generated/gui_generated/include/gui_generated/scr_main_screen/Scr_MainViewBase.hpp

    Wrote generated/gui_generated/src/scr_main_screen/Scr_MainViewBase.cpp

    Done

  Generate Assets

    make -f simulator/gcc/Makefile assets -j8

    Reading ./application.config

    Generating generated/texts/include/texts/TextKeysAndLanguages.hpp

    Generating generated/texts/src/TypedTextDatabase.cpp

    Generating generated/texts/src/Texts.cpp

    Generating generated/texts/src/LanguageGb.cpp

    Done

  Post Generate

    touchgfx update_project --project-file=simulator/msvs/Application.vcxproj

    Done

  Post Generate Target

    touchgfx update_project --project-file=../GRA_10.ioc --platform=m4

    Done

  Done

 and the result is

............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

This topic has been closed for replies.

1 reply

Alexandre RENOUX
Visitor II
November 17, 2020

Hello,

Could you provide the exact steps you did in order for us to reproduce and fix the issue if necessary ?

/Alexandre