cancel
Showing results for 
Search instead for 
Did you mean: 

Error "Run Simulator"

TechnicalPBG2025
Associate II

Hello,

I'm working on a project in the TouchGFX Designer environment and when I try to execute the "Run Simulator" command, this error occurs.

"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/CM7/.cproject
Writing STM32CubeIDE project file: ../../STM32CubeIDE/CM7/.project
Writing STM32CubeIDE project file: ../../STM32CubeIDE/CM7/.cproject
Done
Compile
make -f simulator/gcc/Makefile -j8
Reading ./application.config
Reading ./target.config
Linking build/bin/simulator.exe
C:/TouchGFX/4.25.0/env/MinGW/bin/../lib/gcc/i686-w64-mingw32/7.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lSDL2
C:/TouchGFX/4.25.0/env/MinGW/bin/../lib/gcc/i686-w64-mingw32/7.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lSDL2_image
collect2.exe: error: ld returned 1 exit status
generated/simulator/gcc/Makefile:160: recipe for target 'build/bin/simulator.exe' failed
make[2]: *** [build/bin/simulator.exe] Error 1
generated/simulator/gcc/Makefile:155: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 2
simulator/gcc/Makefile:32: recipe for target 'all' failed
make: *** [all] Error 2
Failed
Failed"

How can I solve this problem?

0 REPLIES 0