cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx simulation error

rohamid
Associate II

Hello everyone,

I recently downloaded TouchGFX version 4.23.2 and tried running the example on my STM32F7508-DK. However, when I click the simulation button, I encounter these errors. Can anyone help me with this issue? I'm running TouchGFX on Windows 11

 

Run Simulator
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project
.cproject file: ../STM32CubeIDE/.cproject
Writing STM32CubeIDE project file: ../STM32CubeIDE/.project
Writing STM32CubeIDE project file: ../STM32CubeIDE/.cproject
Done
Compile
make -f simulator/gcc/Makefile -j8
Reading ./application.config
Reading ./target.config
/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `C:\Program Files (x86)\GnuWin32\bin\make.exe -f generated/simulator/gcc/Makefile -r -s -rs -j --jobserver-fds=gmake_semaphore_17700 build_executable'
generated/simulator/gcc/Makefile:155: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 258
simulator/gcc/Makefile:32: recipe for target 'all' failed
make: *** [all] Error 2
Failed
Failed

11 REPLIES 11
rohamid
Associate II

I still couldn't get the simulator running on Windows 11, even after following the recommendations from @MM..1 However, I tried a fresh install of Windows 10, and I was able to run the simulator there."

There is a chance that one of the installed software on your Windows 11 has conflicts with TouchGFX, especially due to these error messages:

 

 


@rohamid wrote:

/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `C:\Program Files (x86)\GnuWin32\bin\make.exe -f generated/simulator/gcc/Makefile -r -s -rs -


Since the TouchGFX code does not change based on the Windows version it is running on, and there are cases that TouchGFX can run with no issues on Windows 11, I would recommend installing TouchGFX on a freshly installed Windows 11 as well to ensure it's functionality. 

But, I'm glad that you can run TouchGFX on Windows 10 correctly.

Best regards,
 

Mohammad MORADI
ST Software Developer | TouchGFX