cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX 4.16.1 doesn't generate images directory

msalamon_pl
Associate II

I'm trying to run an example for X-NUCLE-GFX01M1 shield and I'm facing weird issues.

TouchGFX generator doesn't generate images data.

generated/gui_generated/src/screen1_screen/Screen1ViewBase.cpp:6:10: fatal error: BitmapDatabase.hpp: No such file or directory

     #include "BitmapDatabase.hpp"

         ^~~~~~~~~~~~~~~~~~~~

I forced once but I can't make it again. What is wrong?

8 REPLIES 8
Romain DIELEMAN
ST Employee

Hi,

You started a project from TouchGFX Designer with the application template for the STM32G0 nucleo board and with a UI template (or with an example in the Online Application tab) ? Or did you start your project from scratch ?

/Romain

msalamon_pl
Associate II

I've started from TouchGFX Generator's online example for G0. It works now for me, but I made a step back to 4.16.0.

Which online example did you use ? I was not able to replicate your issue.

/Romain

Hi! I hit the same issue with 4.16.0. I'm taking this example I noted that the first project with a fresh install and fresh workspace generates images ok. When I'm trying to make a second or further same project - images are not generated by the Designer.

Please try to make a few same projects from an online template in one workspace.

Hi,

I do not face this issue when I create a project with any of the online application for the STM32G0 from TouchGFX Designer 4.16.0 and .1 . Could you describe the steps you have done ? When you write TouchGFX Generator, do you mean TouchGFX Designer which is the GUI builder tool or do you talk about the TouchGFX Generator which is an additional software component of CubeMX ?

Are you trying to run on target from Designer or are you using another IDE/Toolchain ? Did you open the STM32CubeMX project ? If yes did you click on the "continue" or "migrate" option ? You should not migrate as the current package faces issues, but yours are not the same.

/Romain

Just only use TouchGFX Designer to make that issue.

  1. Open TGFX Designer
  2. Select New
  3. Select Online Template
  4. Select G071 template
  5. Start this project
  6. Try to Simulate - it's ok
  7. I'm genrating the Code and import to the CubeIDE - it's ok.
  8. Now create a new project
  9. Select same template
  10. Select same Workspace (directory)
  11. Name it with another name
  12. Start this second project
  13. Try to Simulate - no bitmaps error
  14. Import to CubeIDE and try to build - no "BitmapDatabase.hpp". Missing whole directory "images" from Project/TouchGFX/generated

No matter if I "Continue" or "Migrate". The template from TouchGFX Designer is without whole images directory.

Why do you do step 8 ? You can just use the CubeIDe project in the generate project folder, I am unsure why you are doing the rest.

/Romain

I'm not creating any project in CubeIDE. Just import :) Everything is created in TGFX Designer. I just wanted to make two separate projects based on the TGFX Designer template.