NIOS Eclipse突然报错:No rule to make target `/system.h

NIOS Eclipse突然报错:No rule to make target `/system.h

今天打开NIOS Eclipse编译昨天完好的工程,发现报错。我就纳闷了,代码没有修改,编译结果报错

控制台中problems选线中显示:

No rule to make target `/system.h

控制台中的console选项中显示:

**** Build of configuration Nios II for project NIOS ****

make -j all 
Info: Building ../NIOS_Bsp
make --no-print-directory -C ../NIOS_Bsp
      1 [main] ? (13740) D:\MyApp\quartus10_1\quartus\bin\cygwin\bin\cygpath.exe: *** fatal error - cygheap base mismatch detected - 0x2AD5530/0x611B5530.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      1 [main] ? (12684) D:\MyApp\quartus10_1\quartus\bin\cygwin\bin\cygpath.exe: *** fatal error - cygheap base mismatch detected - 0x2AD5530/0x611B5530.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      1 [main] ? (10320) D:\MyApp\quartus10_1\quartus\bin\cygwin\bin\cygpath.exe: *** fatal error - cygheap base mismatch detected - 0x2AD5530/0x611B5530.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      1 [main] ? (20784) D:\MyApp\quartus10_1\quartus\bin\cygwin\bin\cygpath.exe: *** fatal error - cygheap base mismatch detected - 0x2AD5530/0x611B5530.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      1 [main] ? (16988) D:\MyApp\quartus10_1\quartus\bin\cygwin\bin\cygpath.exe: *** fatal error - cygheap base mismatch detected - 0x2AD5530/0x611B5530.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      1 [main] ? (9428) D:\MyApp\quartus10_1\quartus\bin\cygwin\bin\cygpath.exe: *** fatal error - cygheap base mismatch detected - 0x2AD5530/0x611B5530.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
make[1]: *** No rule to make target `/system.h', needed by `all'.  Stop.
make: *** [../NIOS_Bsp-recurs-make-lib] Error 2


解决方法:

1、运行三次D:\MyApp\quartus10_1\quartus\bin\cygwin\Cygwin.bat
2、再运行三次D:\MyApp\quartus10_1\quartus\bin64\cygwin\Cygwin.bat
3、重启电脑,重启NIOS Eclipse,重新编译工程,没有报错。记住要重启电脑。

参考:NIOS II Eclipse出现fatal error - cygheap base mismatch detected-CSDN博客

image-20240422093633334

---晓凡 2024821于武汉书
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值