Skip to main content
Associate II
July 12, 2025
Question

TouchGFX 4.25 cannot generate code properly in MDK5.42.

  • July 12, 2025
  • 1 reply
  • 378 views

MCU is STM32H7R/S.

Some paths is incorrect in make script .

Failed Log:

Generate Code
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:43:in `read': No such file or directory @ rb_sysopen - ../MDK-ARM/AICAMERA_V3_ONLYAPP.uvprojx (Errno::ENOENT)
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:43:in `check_compiler'
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:251:in `block in <class:Main>'
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:101:in `chdir'
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:101:in `<class:Main>'
from ../Middlewares/ST/touchgfx/framework/tools/videoconvert/videoconvert.rb:19:in `<main>'
generated/simulator/gcc/Makefile:229: recipe for target 'videos' failed
make[1]: *** [videos] Error 1
simulator/gcc/Makefile:32: recipe for target 'assets' failed
make: *** [assets] Error 2
Failed
Failed

1 reply

ST Employee
July 14, 2025

Hello @magicmatrix,

How did you create your project ?

BR,
Louis B.

Associate II
July 14, 2025

The project was created using STM32cubeMX

ST Employee
July 22, 2025

Hello @magicmatrix ,

Did you generatecode in cubeMX and designer before generating in MDK ?

BR,