| 
 
	积分6814贡献 精华在线时间 小时注册时间2011-12-4最后登录1970-1-1 
 | 
 
| 
我在win7下安装了cygwin,按照网上各位大侠的方法安装,但是在运行ncl xy04n.ncl时出现了如下的错误提示
x
登录后查看更多精彩内容~您需要 登录 才可以下载或查看,没有帐号?立即注册 
  Copyright (C) 1995-2013 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.1.2
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
 /lib/ncarg/sysresfiled System Resource File /usr/local
 warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]
 warning:["Palette.c":1850]:NhlLoadColormapFiles: Invalid colormap directory: /us/lib/ncarg/colormaps
 Segmentation fault (core dumped)
 
 而在运行另外一个列子ng4ex gsun08n却可以正常运行,在设置变量时添加了如下命令
 export NCARG_ROOT=/usr/local
 export PATH=/usr/local/bin:$PATH
 export DISPLAY=:0.0
 
 在网上搜了很久也有人遇到了类似的问题,但是没有找到解决办法,谢谢各位围观。
 
 | 
 |