Tim Sax(deleted)
|
Unable to build on Windows 10 -- cygwin heap error
|
Tim Sax(deleted)
03/30/2017 8:48 PM
post117578
|
Unable to build on Windows 10 -- cygwin heap error
I installed Momentics IDE 4.7.0 on Windows 10, building for the TI AM335x. The rest of my team is building on Windows 7
. On my Windows 10 machine, the build failed with the following error:
--------------------------
**** Build of configuration QNX QCC for project move_sitara335x-src ****
make all
cp -rf prebuilt/* install
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0xEB0000, BaseAddress 0x1110000, RegionSize 0x11A0000, State 0x2000
C:\QNX650\host\win32\x86\usr\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
make: *** [prebuilt] Error 1
--------------------------
From some searching on the web, I found that this is a Cygwin problem (I assume Cygwin is installed with Momentics, and
runs underneath it). The fix I found is described here:
https://github.com/msysgit/msysgit/issues/123
which links to the following link, where I downloaded mysys-1.0.zip and replaced it at c:\\QNX650\host\win32\x86\usr\bin
:
http://support.code-red-tech.com/CodeRedWiki/VirtualAllocPointerNull?action=AttachFile&do=view&target=msys-1.0.zip
I did as the link suggests, replacing msys-1.0.dll in the directory where I found it, at QNX650\host\win32\x86\usr\bin,
and this fixed the problem. The build now works.
Is The QNX development team aware of this?
|
|
|