NIOSII IDE在WIN7下 couldn't allocate heap

 

首先,所有的文件夹都不能有空格和中文

其次,出现这些SB错误

make -s all includes 3 [main] ? (3732) c:\altera\91\quartus\bin\cygwin\bin\make.exe: ***fatal error - couldn't allocate heap, Win32 error487, base 0x9E0000, top 0xB30000, reserve_size 1372160, allocsize 1376256, page_const 4096 2 [main] make 7588 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 make: vfork: Resource temporarily unavailable Example 2: make -s all includes 3 [main] ? (4980) c:\altera\91\quartus\bin\cygwin\bin\make.exe: ***fatal error - couldn't allocate heap, Win32 error 487, base 0x970000, top 0xA40000, reserve_size 847872, allocsize 851968, page_const 4096 2 [main] make 1972 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 make[1]: /cygdrive/c/altera/91/nios2eds/components/altera_hal/build/common.mk:54: fork: Resource temporarily unavailable 3 [main] ? (6092) c:\altera\91\quartus\bin\cygwin\bin\make.exe: ***fatal error - couldn't allocate heap, Win32 error 487, base 0x970000, top 0xA60000, reserve_size 978944, allocsize 983040, page_const 4096 8408744 [main] make 1972 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11 make[1]: /cygdrive/c/altera/91/nios2eds/components/altera_hal/build/chac_rules.mk:147: fork: Resource temporarily unavailable make[1]: *** No rule to make target `/bin/gtf/generated_all.mk.gtf', needed by `system_description/../obj/generated_all.mk-t'. Stop. make: *** [system_project] Error 2 Build completed in 40.947 seconds

 

这些编译错误,很显然是由于WIN7的管理模式而发生的

请把你的

1. Make.exe

2. Sh.exe

3. Echo.exe

4. Cygstart.exe

5. MakeInfo.exe

6. Perl.exe

7. Collect2.exe (under nios2eds\bin\nios2-gnutools\ H-i686-pc-cygwin\libexec\gcc\nios2-elf\3.4.6)

8. Nios2-elf-g++.exe (under nios2eds\bin\nios2-gnutools\ H-i686-pc-cygwin\bin)

用管理员模式和WIN XP SP2兼容模式运行

在论坛上看到某位老外说这样做成功率能达到90%,我在我电脑尝试后觉得最多只有60%的可能性,也许是我的软件版本不同。

posted on 2013-12-12 22:27  lakeone  阅读(957)  评论(0编辑  收藏  举报

导航