Skip to main content
Associate
September 7, 2024
Solved

TouchGFX 4.24.0 "make -f simulator/gcc/Makefile assets -j8 " The execution speed is very slow

  • September 7, 2024
  • 3 replies
  • 1879 views

sunbo_0-1725729459466.png

Run Simulator
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8 --trace
simulator/gcc/Makefile:32: target 'assets' does not exist
make -r -f generated/simulator/gcc/Makefile -s -j --jobserver-fds=gmake_semaphore_3068 --trace assets -C "C:/Users/Administrator/Desktop/13123/MyApplication"
generated/simulator/gcc/Makefile:221: target 'images' does not exist
touchgfx/framework/tools/imageconvert/build/win/imageconvert.out -r assets/images -w generated/images
generated/simulator/gcc/Makefile:225: target 'texts' does not exist
ruby touchgfx/framework/tools/textconvert/main.rb assets/texts/texts.xml touchgfx/framework/tools/fontconvert/build/win/fontconvert.out generated/fonts generated/texts assets/fonts .
generated/simulator/gcc/Makefile:229: target 'videos' does not exist
ruby touchgfx/framework/tools/videoconvert/videoconvert.rb assets/videos generated/videos
Reading ./application.config
Reading ./target.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Compile
make -f simulator/gcc/Makefile -j8
Reading ./application.config
Reading ./target.config
Done
Run
build\bin\simulator.exe
Done
Done

 

Best answer by GaetanGodart

Hello @sunbo ,

 

Can you try to disconnect from the internet and then try to run your simulator and tell me the result?

 

Regards,

3 replies

GaetanGodart
Technical Moderator
September 9, 2024

Hello @sunbo and welcome to the community! :smiling_face_with_smiling_eyes:

 

How long does it takes before the simulator is running?

How big is your application?
It can take a bit of time to compile if you have a big project. TouchGFX need to generate the assets in the right format and needs to compile your application using GCC (we are limited by GNU capabilities, it cannot go faster by using this compiler).

Was the compilation faster before and got slower or has it always been this speed?

 

Regards,

sunboAuthor
Associate
October 10, 2024

Thank You Gaetan Godart

Computer Performance:I9-13980HX  48G RAM (Win10 IOT LTSC)

TouchGFX4.24.0 Examples :Animated Image Example  -> Run Simulator

"make -f simulator/gcc/Makefile assets -j8 (25 seconds)"

"make -f simulator/gcc/Makefile -j8 (24 seconds)"

These two instructions are the most time-consuming, and the time consumption of other processes is negligible

 

GaetanGodart
Technical Moderator
September 30, 2024

Hello @sunbo ,

 

Have you been able to move forward with your issue?

 

Regards,

Senior
February 10, 2025

I see this effect in 2.24.2 now.
Tried disconnecting internet.
Tried reinstalling 2.24.2 (MinGW binairies).

If I had "-d" to the make, I see that the child process with --jobserver-fds is the process that "hangs", eventually timeout and finishes the make.

CreateProcess(X\sh.exe,X/sh.exe -c "X/make -r -f generated/simulator/gcc/Makefile -s -dr -j --jobserver-fds=gmake_semaphore_XXXX all -C \"c:/TouchGFX/Projects/X\"",...).

@GaetanGodartgot any recommendations to troubleshoot?

Solution was to reformat the whole computer.