Hi,
I'm getting the following error when trying to build PyNGL on my Mac
(10.8.2) with NCL 6.1 (and python 2.7.2):
gsun.c:1831:25: error: use of undeclared identifier 'NhlcairoPSPDFWorkstationClass'; did you mean 'NhlcairoImageWorkstationClass'?
NhlCreate(&wks,type,NhlcairoPSPDFWorkstationClass,NhlDEFAULT_APP,wk_rlist);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NhlcairoImageWorkstationClass
This looks like it's related to cairo but, as far as I can tell, all the
PyNGL install prereqs have been met (per the install web page
http://www.pyngl.ucar.edu/Download/build_pyngl_from_src.shtml). All but
zlib are installed under fink.
I've used the following script successfully on a different Mac (10.6):
#!/bin/tcsh -f
# build PyNGL
setenv FC gfortran
setenv F2CLIBS gfortran
setenv F2CLIBS_PREFIX /usr/local/gfortran/lib
setenv CXX g++
python setup.py build >& build.out
I'm also seeing about a dozen warnings about macros being redefined (out
of ~37 warnings total).
Happy to provide more info, I'm out of ideas myself.
Thanks,
Dave
-- Associate Research Professor of Climatology Dept of Earth and Environmental Science MSEC 304; 801 Leroy Place New Mexico Tech Socorro, NM 87801 _______________________________________________ pyngl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/pyngl-talkReceived on Mon Jan 7 11:51:17 2013
This archive was generated by hypermail 2.1.8 : Mon Jan 14 2013 - 14:34:44 MST