Skip to main content
GS1
Senior III
October 25, 2023
Solved

TouchGFX 4.22.1. Generate code fails

  • October 25, 2023
  • 1 reply
  • 1420 views

I am working with Version 4.22.1 of the Designer since August and had no problem to generate code.

Now I suddenly get the following issue: "Generate Code   |  Failed" 

The following text is printed in the log:

 

Generate Code
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x1050000, RegionSize 0xE0000, State 0x10000
E:\TouchGFX\4.22.1\env\MinGW\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
make: *** [assets] Error 1
simulator/gcc/Makefile:32: recipe for target 'assets' failed
Failed
Failed

 

I am not using the simulator. It seems to me that the problem only affects the simulator code generator. Right?

Can I ignore the issue then? 

Any comments welcome!

 

    This topic has been closed for replies.
    Best answer by Mohammad MORADI ESFAHANIASL

    Hello @GS1 ,
    This issue is not directly related to TouchGFX. You can read about proposed solutions on this post:
    https://community.st.com/t5/stm32-mcus-touch-gfx-and-gui/compilation-error-quot-couldn-t-reserve-space-for-cygwin-s-heap/td-p/247873

    Hope this helps

    1 reply

    ST Employee
    October 31, 2023

    Hello @GS1 ,
    This issue is not directly related to TouchGFX. You can read about proposed solutions on this post:
    https://community.st.com/t5/stm32-mcus-touch-gfx-and-gui/compilation-error-quot-couldn-t-reserve-space-for-cygwin-s-heap/td-p/247873

    Hope this helps

    Mohammad MORADIST Software Developer | TouchGFX