2025-06-16 7:50 AM - last edited on 2025-06-19 2:23 AM by LouisB
Hi everyone,
I'm experiencing a very frustrating issue with TouchGFX Designer version 4.25.0.
Whenever I click "Generate Code", the process hangs for several minutes (up to 5 minutes) at the step:
make -f simulator/gcc/Makefile assets -j8.
This used to work quickly in the past with the same version on the same PC, but the issue suddenly started recently without any apparent changes.
I'm running Windows 11, and this problem affects all projects, even the official TouchGFX examples.
Here’s what I’ve tried so far (none of which helped):
I use TouchGFX on a daily basis, so this issue is really slowing down my workflow.
Has anyone else experienced this?
Any advice would be highly appreciated!
Best regards,
Jure
Solved! Go to Solution.
2025-06-23 3:12 AM
Does this happen in case when all assets are already generated ?
2025-06-23 4:16 AM - edited 2025-06-23 4:18 AM
I tried asset generation in msvs and the generation is quick without any delays.
VERBOSE=1 did not output any aditional informations so instead I tried:
make -f simulator/gcc/Makefile assets -j8 --debug=b
Here is the log - It stops at line 35:
Generate Code
Generate
Wrote generated/gui_generated/include/gui_generated/common/FrontendApplicationBase.hpp
Wrote generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp
Wrote generated/gui_generated/include/gui_generated/common/SimConstants.hpp
Wrote generated/gui_generated/include/gui_generated/screen1_screen/Screen1ViewBase.hpp
Wrote generated/gui_generated/src/common/FrontendApplicationBase.cpp
Wrote generated/gui_generated/src/screen1_screen/Screen1ViewBase.cpp
Wrote generated/simulator/gcc/Makefile
Wrote generated/simulator/include/simulator/mainBase.hpp
Wrote generated/simulator/include/simulator/video/DirectFrameBufferVideoController.hpp
Wrote generated/simulator/include/simulator/video/MJPEGDecoder.hpp
Wrote generated/simulator/include/simulator/video/SoftwareMJPEGDecoder.hpp
Wrote generated/simulator/msvs/touchgfx_prebuild.targets
Wrote generated/simulator/msvs/touchgfx_sdl2.props
Wrote generated/simulator/msvs/touchgfx.props
Wrote generated/simulator/src/mainBase.cpp
Wrote generated/simulator/src/video/SoftwareMJPEGDecoder.cpp
Wrote generated/simulator/touchgfx.ico
Wrote generated/simulator/touchgfx.rc
Wrote generated/simulator/touchgfx.res
Wrote generated/user.config
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8 --debug=b
GNU Make 4.1
Built for i686-pc-mingw32
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating goal targets....
File 'assets' does not exist.
Must remake target 'assets'. <================== IT STOPS HERE FOR ~2MINUTES
GNU Make 4.1
Built for i686-pc-mingw32
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating goal targets....
File 'assets' does not exist.
File 'images' does not exist.
Must remake target 'images'.
File 'texts' does not exist.
Must remake target 'texts'.
File 'videos' does not exist.
Must remake target 'videos'.
Reading ./application.config
Reading ./target.config
Generating generated/images/include/BitmapDatabase.hpp
Generating generated/images/include/images/BitmapDatabase.hpp
Generating generated/images/src/BitmapDatabase.cpp
Generating generated/images/include/images/SVGDatabase.hpp
Generating generated/images/src/SVGDatabase.cpp
File 'assets' does not exist.
Generating generated/videos/include/videos/VideoDatabase.hpp
File 'assets' does not exist.
Cleaning generated files from generated/texts and generated/fonts.
Generating generated/fonts/include/fonts/GeneratedFont.hpp
Generating generated/fonts/src/GeneratedFont.cpp
Generating generated/fonts/include/fonts/UnmappedDataFont.hpp
Generating generated/fonts/src/UnmappedDataFont.cpp
Generating generated/fonts/include/fonts/CachedFont.hpp
Generating generated/fonts/src/CachedFont.cpp
Generating generated/fonts/include/fonts/FontCache.hpp
Generating generated/fonts/src/FontCache.cpp
Generating generated/fonts/src/CompressedFontCache.cpp
Generating generated/fonts/src/CompressedUnmappedFontCache.cpp
Generating generated/fonts/include/fonts/CompressedFontCache.hpp
Generating generated/fonts/include/fonts/CompressedUnmappedFontCache.hpp
Generating generated/fonts/src/ApplicationFontProvider.cpp
Generating generated/fonts/include/fonts/ApplicationFontProvider.hpp
Generating generated/texts/include/texts/TextKeysAndLanguages.hpp
Generating generated/texts/include/texts/TypedTextDatabase.hpp
Generating generated/texts/src/TypedTextDatabase.cpp
Generating generated/texts/src/Texts.cpp
Generating generated/texts/src/LanguageGb.cpp
Generating generated/fonts/src/Font_verdana_10_4bpp_0.cpp
Generating generated/fonts/src/Table_verdana_10_4bpp.cpp
Generating generated/fonts/src/Kerning_verdana_10_4bpp.cpp
Generating generated/fonts/src/Font_verdana_20_4bpp_0.cpp
Generating generated/fonts/src/Table_verdana_20_4bpp.cpp
Generating generated/fonts/src/Kerning_verdana_20_4bpp.cpp
Generating generated/fonts/src/Font_verdana_40_4bpp_0.cpp
Generating generated/fonts/src/Table_verdana_40_4bpp.cpp
Generating generated/fonts/src/Kerning_verdana_40_4bpp.cpp
Generating generated/fonts/src/VectorFontRendererBuffers.cpp
File 'assets' does not exist.
Must remake target 'assets'.
Successfully remade target file 'assets'.
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Done
This issue happens in both cases even if the assets are already generated.
2025-06-23 4:42 AM - edited 2025-06-23 4:43 AM
Could not there be problem in your project path or name ? Too deep ?
2025-06-23 4:50 AM
@ferro
project path is default example path: c:\TouchGFXProjects\MyApplication_1\.
Also the project is empty application:
2025-06-23 4:54 AM
Frustrating. Maybe try to install version 4.24.1 in parallel ? You said you tried other versions but not sure if multiple at the same time.
2025-06-23 4:57 AM
@JureL wrote:@ferro
project path is default example path: c:\TouchGFXProjects\MyApplication_1\.
Also the project is empty application:
Just tested it on my Windows 11 PC. Builds in seconds.
Have you checked your environment variables?
2025-06-23 7:15 AM
Maybe something with hidden files in folders ?
2025-06-23 10:37 PM
@ferro wrote:Frustrating. Maybe try to install version 4.24.1 in parallel ? You said you tried other versions but not sure if multiple at the same time.
I had 5 versions in parallel but none of them worked. The exact same delay happend in every version. To make sure I installed version 4.24.1 again and tried generating assets at the same time in 4.25.0 and 4.24.1 but still no change.
@ferro wrote:Maybe something with hidden files in folders ?
I checked and none of the files or folders are hidden.
2025-06-23 10:42 PM
@unsigned_char_array wrote:
@JureL wrote:@ferro
project path is default example path: c:\TouchGFXProjects\MyApplication_1\.
Also the project is empty application:
Just tested it on my Windows 11 PC. Builds in seconds.
Have you checked your environment variables?
Yes, I verified the environment variables to ensure that TouchGFX is using the correct version of make from its own toolchain, not some other version that might be installed globally on the system (e.g. from MSYS2 or another toolchain). Everything appears correctly set up.
2025-06-24 12:20 AM
And did you try add project folder to this list ?
And add your folder