Skip to main content
Visitor II
November 26, 2024
Question

TouchGFX does not build.

  • November 26, 2024
  • 1 reply
  • 465 views

When I install TouchGFX and run the Designer to run the example code, the build fails with an error as shown below.

=======================================================================================

Compile
    make -f ../gcc/Makefile -j10 
    Reading TouchGFX/application.config
    Reading TouchGFX/target.config
    0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000
    E:\TouchGFX\4.24.1\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
    gcc/Makefile:375: recipe for target 'TextKeysAndLanguages' failed
    make[1]: *** [TextKeysAndLanguages] Error 1
    make[1]: *** Waiting for unfinished jobs....
    ../gcc/Makefile:49: recipe for target 'all' failed
    make: *** [all] Error 2
    Failed
Failed

=====================================================================================

No matter how many times I uninstall and reinstall CubeProgrammer, ST-Link, and TouchGFX, the result is the same.
On my secondary PC (laptop), it runs without any problems, but on my main PC, it gives me an error.
If you have a solution, please let me know.

1 reply

ST Employee
November 26, 2024