<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Sir or Madam,<br>
<br>
I am trying to run NCAR GRaphics through Cygwin, under Windows 7 32
bits. I followed the steps of the process described on <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.ncl.ucar.edu/Download/cygwin.shtml#SetUpDisplay">http://www.ncl.ucar.edu/Download/cygwin.shtml#SetUpDisplay</a><br>
<br>
I got no major problem until the end, when I tried to run <i>$ncl
xy04n.ncl</i> and got this error message:<br>
<small><br>
<i>$ ncl xy04n.ncl<br>
Copyright (C) 1995-2011 - All Rights Reserved<br>
University Corporation for Atmospheric Research<br>
NCAR Command Language Version 6.0.0<br>
The use of this software is governed by a License Agreement.<br>
See <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.ncl.ucar.edu/">http://www.ncl.ucar.edu/</a>
for more details.<br>
warning:Unable to Get System Resource File Name?<br>
warning:Unable to load System Resource File (null)<br>
fatal:GetSysAppDir:Unable to get a default value for the system
App Resource directory<br>
warning:["Resources.c":734]:Unable to set appSysDir to default
value - Using NULL<br>
fatal:GetSysAppDir:Unable to get a default value for the system
App Resource directory<br>
warning:["Resources.c":734]:Unable to set appSysDir to default
value - Using NULL<br>
warning:Unable to Get System Resource File Name?<br>
warning:WorkstationClassInitialize:Unable to access rgb color
database - named colors unsupported:[errno=2]<br>
NDV_COLORMAP_PATH environment variable not set:<br>
defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps<br>
warning:["Palette.c":1527]:NhlLoadColormapFiles: Invalid
directory encountered in colormap path specification<br>
fatal:GetSysAppDir:Unable to get a default value for the system
App Resource directory<br>
warning:["Resources.c":734]:Unable to set appSysDir to default
value - Using NULL<br>
warning:Unable to Get System Resource File Name?<br>
Segmentation fault (core dumped)</i><br>
</small><br>
I precise I got the right responses to the commands <i>printenv
DISPLAY</i> ( i.e. ":0.0") and <i>ncl -V</i> (i.e. "6.0.0"). All
the files seem to be present. The only adjustment I had to make is
in the command <br>
<pre><i>cp $NCARG_ROOT/lib/ncarg/nclex/xyplot/xy04n.ncl .
</i></pre>
I used <i>/usr/local</i> instead of <i>$NCARG_ROOT</i>.<br>
<br>
<br>
Do you see where all those errors come from ? <br>
<br>
Thanks in advance for your response,<br>
Benoit Brancheriau<br>
<br>
</body>
</html>