在用Waveshare的OpenEP4CE10的开发板时,用Nios新建工程,设置好工程路径和提供的ptf文件后和C文件后,编译,
出现:
make: *** No rule to make target `/bin/gtf/generated_app.mk.gtf', needed by `/cygdrive/e/FPGA/EP4CE10/nios/Quartus_II_Project/4x4-Keypad/software/test_fxf_keypad_i_syslib/Debug/system_description/../obj/generated_app.mk-t'. Stop.
Build completed in 19.457 seconds;
纠结了老半天,重建了N次,都没发现问题。现在总结下,出现此类问题可能的原因:
1、工程文件夹命名中包含中文与空格;
2、每次重新生成的System Library文件夹居然不在E盘,而在D盘的Altera程序目录下的Workspace里,于是File -- Switch Workspace,把Workspace路径设置成当前Nokia 5110工程下的Software文件夹目录下,详见:http://bbs.ednchina.com/BLOG_ARTICLE_1855871.HTM
Holy!
新的问题:
make -s all includes
2 [main] ? (5520) D:\altera\11.0\quartus\bin\cygwin\bin\make.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x940000, top 0x9F0000, reserve_size 716800, allocsize 720896, page_const 4096
1 [main] make 2580 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
make: D:/altera/11.0/nios2eds/components/altera_hal/build/common.mk:48: fork: Resource temporarily unavailable
1 [main] ? (10112) D:\altera\11.0\quartus\bin\cygwin\bin\make.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x940000, top 0x9F0000, reserve_size 716800, allocsize 720896, page_const 4096
4253137 [main] make 2580 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11
make: D:/altera/11.0/nios2eds/components/altera_hal/build/common.mk:54: fork: Resource temporarily unavailable
make: *** No rule to make target `/bin/gtf/generated_app.mk.gtf', needed by `/cygdrive/e/FPGA/EP4CE10/nios/Quartus_II_Project/4x4-Keypad/software/test_fxf_keypad_i_syslib/Debug/system_description/../obj/generated_app.mk-t'. Stop.
Build completed in 19.457 seconds
求教大神指点迷津????