Page 1 of 1

Problems building in windows 7

Posted: Fri Dec 17, 2010 1:42 pm
by eradsoft
Hi,
Sorry for this basic issue, I have been using devkitARM + libnds for a couple of
years, finaly I have updated to the newest versions, under windows 7

Everything is downloaded and instaled correctly but when I am trying to build
a nds the following problem appear:

Code: Select all

"make" 
m.AllocationBase 0x8A0000, m.BaseAddress 0x950000, m.RegionSize 0xB50000, m.State 0x2000
C:\_era\dev\devkitPro\msys\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x950000 <0x14A0000>) in child, Win32 error 0
"make": *** [build] Error 1
Any help will be appreciated
Thanks in advance
Enrique

Re: Problems building in windows 7

Posted: Sat Dec 18, 2010 3:12 am
by zeromus
consult google, as this really isnt a devkitARM problem but a msys problem.

remove other cygwins from your system. disable virus and malware scanners. look for google hits involving "rebase" or "rebasing"

Re: Problems building in windows 7

Posted: Sun Dec 19, 2010 5:15 pm
by eradsoft
Thanks :shock:
just deactivating bitdefender realtime protection or putting it into
"tolerant" mode makes it work.

Re: Problems building in windows 7

Posted: Sun Dec 19, 2010 6:18 pm
by Izhido
Ah, the mysterious case of the false positive of antivirus programs :)

You wouldn't believe how common is this with the AVG or McAfee ones. Astoundingly enough, MSE hasn't shown a single false positive since I installed it. If you can, replace BitDefender with MSE. You will notice the difference.

Re: Problems building in windows 7

Posted: Sun Dec 19, 2010 11:50 pm
by zeromus
not really a false positive.
its just that virus scanners have to employ mechanisms similar to viruses in order to insert themselves in the correct placement to observe viruses (since viruses make themselves hidden from normal programs). and, like any virus, there is a chance of it creating a malfunction or sickness. mingw/cygwin are very complicated programs and prone to interruption from things like this.

Re: Problems building in windows 7

Posted: Mon Dec 20, 2010 12:27 am
by WinterMute
Check if it works if you exclude the devkitPro folder from bitdefender scanning?

Re: Problems building in windows 7

Posted: Mon Dec 20, 2010 10:23 am
by eradsoft
I tried excluding both realtime and on demand analysis
on whole devkitrPro folder from bitdefender and the
same problem remains

Currently I found an easier way to circunvent it : putting bitdefender
antivirus into "game mode" while building a nds program
Thanks for the suggestions
Enrique