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

发布于:2024-08-22 ⋅ 阅读:(19) ⋅ 点赞:(0)

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于武汉书

网站公告

今日签到

点亮在社区的每一天
去签到