2024-11-25 10:29 PM
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.
2024-11-26 12:09 AM
Hello @ramza0925 ,
This is not specific to TouchGFX, there's a solution here : https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/compilation-error-quot-couldn-t-reserve-space-for-cygwin-s-heap/td-p/247873.
BR,