cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Code generating error

HCheo.1
Associate II

TouchFGX Ver : 4.15.0

Target Board : STM32f7508 Discovery

At startup and when I pressed "Run Target" or "Generate Code" the program shows:

//--------------------------------------------------------------------------------------------

3 REPLIES 3
HCheo.1
Associate II

  Compile

    make -f simulator/gcc/Makefile -j8

    Reading ./application.config

    Compiling gui/src/main_screen/MainPresenter.cpp

    Compiling gui/src/main_screen/MainView.cpp

    Compiling gui/src/model/Model.cpp

    Compiling gui/src/common/FrontendApplication.cpp

    Compiling generated/gui_generated/src/main_screen/MainViewBase.cpp

    Compiling generated/gui_generated/src/common/FrontendApplicationBase.cpp

       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000

    E:\TouchGFX\4.15.0\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

    generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/gui/src/main_screen/MainPresenter.o' failed

    Compiling generated/simulator/src/mainBase.cpp

    make[2]: *** [build/MINGW32_NT-6.2/gui/src/main_screen/MainPresenter.o] Error 1

    make[2]: *** Waiting for unfinished jobs....

    Compiling generated/fonts/src/GeneratedFont.cpp

       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000

    E:\TouchGFX\4.15.0\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

    generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/gui/src/main_screen/MainView.o' failed

    make[2]: *** [build/MINGW32_NT-6.2/gui/src/main_screen/MainView.o] Error 1

       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000

    E:\TouchGFX\4.15.0\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

    generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/gui/src/model/Model.o' failed

    make[2]: *** [build/MINGW32_NT-6.2/gui/src/model/Model.o] Error 1

       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000

    E:\TouchGFX\4.15.0\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

    generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/gui/src/common/FrontendApplication.o' failed

    make[2]: *** [build/MINGW32_NT-6.2/gui/src/common/FrontendApplication.o] Error 1

       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000

    E:\TouchGFX\4.15.0\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

    generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/generated/gui_generated/src/main_screen/MainViewBase.o' failed

    make[2]: *** [build/MINGW32_NT-6.2/generated/gui_generated/src/main_screen/MainViewBase.o] Error 1

       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000

    E:\TouchGFX\4.15.0\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

    generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/generated/gui_generated/src/common/FrontendApplicationBase.o' failed

    make[2]: *** [build/MINGW32_NT-6.2/generated/gui_generated/src/common/FrontendApplicationBase.o] Error 1

       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000

    E:\TouchGFX\4.15.0\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

    generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/generated/simulator/src/mainBase.o' failed

    make[2]: *** [build/MINGW32_NT-6.2/generated/simulator/src/mainBase.o] Error 1

       0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487

    AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x160000, State 0x10000

    E:\TouchGFX\4.15.0\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

    generated/simulator/gcc/Makefile:190: recipe for target 'build/MINGW32_NT-6.2/generated/fonts/src/GeneratedFont.o' failed

    make[2]: *** [build/MINGW32_NT-6.2/generated/fonts/src/GeneratedFont.o] Error 1

    generated/simulator/gcc/Makefile:149: 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

HCheo.1
Associate II

The same problem occurs even if the program is reinstalled after Uninstalled.

Martin KJELDSEN
Chief III

Hi, this is a problem with msys.dll - You most likely have multiple ones on your path (TouchGFX Envs being one of them).

It's a common problem out there in the real world and the solution seems to be to "rebase" the dll. Can you try searching for that solution and get back to me?