cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate source code (.cpp/.hpp) for touchgfx on linux ?

Nzhan.15
Associate II

Hi all,

I deployed a gitlab-runner for my touchgfx repository on linux, it will build (compile) the project once I update my commit. However I can't find the command-line tools which used to generated source code ( xxxViewBase.hpp, xxxViewBase.cpp ) , any hints will be appreciated, thanks!!!

1 ACCEPTED SOLUTION

Accepted Solutions

You're out of luck, then. TouchGFX Designer is windows only, for now. We'e been talking about at least making tgfx.exe a cross platform tool, though.

View solution in original post

5 REPLIES 5
Martin KJELDSEN
Chief III
martin@st.com /d/TouchGFX/4.10.0/designer
$ tgfx.exe generate --path=/c/TouchGFXProjects/customKeyboard/customKeyboard.touchgfx

Martin KJELDSEN
Chief III

If you end up creating an application template for your project, you could also use the new command to create new applications with compile to perform some extra validation:

martin@st.com /d/TouchGFX/4.10.0/designer
$ tgfx.exe
 
Available commands are:
 
    new         - Combines a user interface with an application template to create a new application
    compile     - Compile touchgfx application
    flash       - Flash touchgfx application
    generate    - Generate touchgfx application
    ...
    help <name> - For help with one of the above commands

/Martin

My os is CentOS, not windows 10.

You're out of luck, then. TouchGFX Designer is windows only, for now. We'e been talking about at least making tgfx.exe a cross platform tool, though.

And, Does touchgfx 4.12 released ??? I am using 4.10.0 where can I download it.