Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Unable to build on Windows 10 -- cygwin heap error: Page 1 of 11 (11 Items)
   
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?