- 积分
- 110
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-1-20
- 最后登录
- 1970-1-1

|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本人在笔记本linux环境下安装了
ncl_ncarg-6.2.0.Linux_RHEL6.2_x86_64_nodap_gcc446.tar.gz
根据网上的教程,解压,拷贝
然后gedit source .bashrc
[root@localhost lib64]# ncargversion
NCAR Graphics Software Version 6.2.0
Copyright (C) 1987-2014, University Corporation for Atmospheric Research
NCAR Graphics is a registered trademark of the University Corporation
for Atmospheric Research.
The use of this Software is governed by a License Agreement.
ng4ex gsun01n
ng4ex gsun02n
这样的命令也没有问题能够出图
但是ncargex cpex08这里会有问题
[root@localhost ~]# ncargex cpex08
NCAR Graphics Fortran Example <cpex08>
Copying cpex08.f
Copying cpexcc.f
Compiling and linking...
gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncl_ncarg-6/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -liconv -lXrender -lbz2
/usr/local/ncl_ncarg-6/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation':
cro.c:(.text+0x3efd): undefined reference to `cairo_recording_surface_create'
/usr/local/ncl_ncarg-6/lib/libncarg_gks.a(cro.o): In function `cro_ClearWorkstation':
cro.c:(.text+0x4be5): undefined reference to `cairo_recording_surface_create'
collect2: ld returned 1 exit status
The compile and link failed.
有没有群友们碰到过?
|
|