2024年5月3日发(作者:)
NIOS II常见编译问题解答win7下的兼容性问题
cygdrive/f/altera/10.0/nios2eds/components/altera_hal/build/system_rules.m
k:120: /components/altera_hal/build/gnu_: No such file or directory
/cygdrive/f/altera/10.0/nios2eds/components/altera_hal/build/system_rules.
mk:124: /components/altera_hal/build/gtf_: No such file or directory
make[1]: *** No rule to make target
`/components/altera_hal/build/gtf_'. Stop.
make: *** [system_project] Error 2
Build completed in 11.068 seconds
解决办法:因为在win7下的权限问题.具体解决方法参考下面的方法:
Under your Quartus II folder, go to bin->cygwin->bin folder, select the
following files in the list below and then right-click and choose Properties. Under
the Compatibility tab, check “Run this program in compatibility mode for:” and
choose “Windows XP (Service Pack 2)”. Check “Run this program as an
administrator”, as well.
Here is the list of files that you can select to change their compatibility mode
under the Quartus II->bin->cygwin->bin folder:
1.
2.
3.
4.
5.
6.
(undernios2edsbinnios2-gnutoolsH-i686-pc-cygwinlibexec
gccnios2-elf3.4.6)
8. Nios2-elf-g++.exe (under nios2edsbinnios2-gnutools
H-i686-pc-cygwinbin)
在英文网上查到的,这几个不同的exe文件在不同的bin文件夹之间,依次右击改掉属性,
把允许管理员使用权限前面打上勾即可.
5.如果run Niosii时经常出现到2%后N久也不动,也不报错,甚至进度条也在滚,
当然没有前进了。这时随便你等多久,他就呆在那里,很烦。后面发现是杀毒软件的作用,
我只有用360安全卫士,而是关掉了它15分钟,在此期间,run就ok了,估计其他的杀
毒软件更猛,所以大家在run的时候最好关上杀毒软件。


发布评论