Netcdf-c fill "netcdt.inc' not found

Error : Not found /home/wade-0/wrf-hw/opt/netCDF-C_4.7.3/bin/bin/ncdump/include/netcdf.inc
Please check this installation of NetCDF and re-run this configure script
./configure: 642: exit: Illegal number: -1

===========================================================
想問一下有人遇到過同樣的問題嗎
網路上查是說是版本的問題

除了用舊版之外好像沒有解決辦法

我好像用find找到檔案再複製到正確的路徑,雖然他可以跑了,我不確定這樣可不可行🤣

wade-0@wade-h:~/wrf-hw/opt$ find netcdf.inc
find: ‘netcdf.inc’: No such file or directory

==============================================

我的好像真的沒有 :sweat_smile:

同學好,

請你檢查是否正確安裝 netcdf-fortran-4.4.5,理論上 netcdf.inc 應該被放在 netcdf-fortran-4.4.5/include 裡面喔!

展佑

Error : Not found home/wade-0/wrf-hw/opt/netcdf-fortran-4.4.5/include/include/netcdf.inc
Please check this installation of NetCDF and re-run this configure script

===========================================================

還是找不到 :sweat_smile:
有確定/netcdf.inc 有在netcdf-fortran-4.4.5/include

同學好,

請參考 Not found netcdf.inc when I try to configure WRF
可能可以為你解惑。