- 积分
- 279
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2021-1-6
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
求助,本人刚刚接触RIP,请大佬指导一下!问题:在编译时显示没有生成rip文件
gcc -I. -DLITTLE -DUNDERSCORE -c -c v5d.c
v5d.c: In function ‘v5dPrintStruct’:
v5d.c:332:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("sizeof(v5dstruct)=%d\n", sizeof(v5dstruct) );
^
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c rotate_earth2comp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o rip addorfill.o adjellip.o angle.o barb.o bes.o bogs.o brnshr.o bshear.o bvfricalc.o capecalc3d.o ceilingcalc.o colram.o colrln.o condheat.o contrive2.o cpchhl.o cpchll.o cpcolr.o cpmpxy.o createdtg.o cttcalc.o dbzcalc.o refmos2calc.o refmos3calc.o ddpcalc.o ddx.o ddy.o derivc.o drawcl.o driver.o egridfill.o eqthecalc.o extingcalc.o fields.o fillarray.o finterp.o finterp2d.o fregcalc.o frtitle.o fx.o fy.o getbasicvars.o getbasicvars_newdom.o getchar.o getconvals.o getdash.o getdims.o getheadinfo.o getheadinfo_newdom.o getinum.o getminfo.o getpt.o getrnum.o gettimes.o getvar.o getvarinfo.o hboxdraw.o hbulldraw.o hchadraw.o hcondraw.o hiresmap.o hlinedraw.o hmapdraw.o hodograph.o hsidsdraw.o hstrdraw.o hticdraw.o htrajdraw.o hvecdraw.o igetcoind.o lennonblank.o liftparcel.o locinterp.o maptform.o maptick.o mconvert.o mktrjpts.o mlen.o monotonic.o netasc.o numeric.o omgcalc.o pfcalc.o pltitle.o prcver.o precprob.o premaptform.o profil.o profvelcalc.o pvocalc.o qgomg.o rdcolt.o readspec.o relhl.o rhucalc.o ricalc.o rip.o rotipslab.o rotpslab.o sateqthecalc.o saweli.o scondraw.o seaprs.o setripheader.o smooth.o smoothcp.o smoothcz.o smoothrain.o srflow.o srflow2.o sstats.o sticdraw.o sticdraw_polar.o svecdraw.o tdpcalc.o trop.o refalt.o lifted_index.o tfpcalc.o thecalc.o tonpsadiabat.o tserprep.o turb.o typhoon.o unblank.o vbardraw.o vc2dcalc.o vcondraw.o velbrb.o velvctmts.o vgp.o vinterp.o virtual.o virtualhyd.o viscalc.o vticdraw.o vtrajdraw.o vvecdraw.o vwinddraw.o wdircalc.o wetbulbcalc.o writefile.o wspcalc.o xmapcalc.o xtodot.o binio.o v5d.o rotate_earth2comp.o -L/usr/local/Build_WRF/LIBRARIES/netcdf/lib -lnetcdf -lnetcdff -I/usr/local/Build_WRF/LIBRARIES/netcdf/include -L/usr/local/ncl-6.6.2/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc -L/usr/X11R6/lib64 -lX11
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: cannot find -lpixman-1
collect2: error: ld returned 1 exit status
Makefile:44: recipe for target 'rip' failed
make: [rip] Error 1 (ignored)
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripcomp ripcomp.f
同时我发现我在配置时显示了如下信息,不知是否与该问题有关:
Please select from among the following supported platforms.
1. PC Linux i486 i586 i686 x86_64, PGI compiler
2. PC Linux i486 i586 i686 x86_64, g95 compiler
3. PC Linux i486 i586 i686 x86_64, gfortran compiler
4. PC Linux i486 i586 i686 x86_64, Intel compiler
Enter selection [1-4] : 3
------------------------------------------------------------------------
Configuration successful. To build RIP4, type: compile
------------------------------------------------------------------------
Testing compatability of compiler and libraries
COMPILER is gfortran
LOCAL_LIBS are -L/usr/X11R6/lib64 -lX11
NCARGLIBS are -L${NCARG_ROOT}/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc
The Fortran compiler, gfortran is not consistent with the version of NCAR Graphics.
希望大佬能够帮我解答一下,谢谢!
|
|