Thanks for the advice, Fabricio.
I have been building netCDF from source on Cygwin from time to time for at
least 10 years now. Having it available in binary form via setup.exe will spoil
all the fun!
I just checked it out. It seems to be fully featured, eg. it supports DAP.
The packages you will need to install to build Fortran programs are:
netcdf
netcdf-fortran
hdf5
libnetcdf-devel
libnetcdf-fortran-devel
libhdf5-devel
Don’t forget the “devel” libraries: it’s useless for building programs without
those.
And then there are a few prerequisites that setup.exe will prompt you for: you
should accept its suggestions.
Mark
From: netcdfgroup-bounces@xxxxxxxxxxxxxxxx
[mailto:netcdfgroup-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Fabrício Zimmerer
Murta
Sent: Friday, 14 June 2013 19:04
To: Derek Goring; NetCDF Mailing List
Subject: Re: [netcdfgroup] Win 7 Fortran netCDF
by the way... I just installed cygwin a few days back, it has both NetCDF and
HDF libraries with it... If I am not wrong, it also has ‘udunits’ that might be
useful... Give it a try to the ‘setup.exe’ to install the additional packages
if you don’t really want to compile NetCDF from scratch.
- fabrício
From: Derek Goring<mailto:nztideman@xxxxxxxxxxx>
Sent: Friday, June 14, 2013 1:04 AM
To: NetCDF Mailing List<mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
Cc: Mark Hadfield<mailto:Mark.Hadfield@xxxxxxxxxx>
Subject: Re: [netcdfgroup] Win 7 Fortran netCDF
Hi Mark
I've survived with Win XP and CVF all this time (> a decade), but now it's time
to upgrade.
Back then, I just linked netcdfs.lib and everything was sweet.
Things have changed...........
So, I've tried installing the C library, but it can't find the hdf5 library.
Derek
________________
Derek Goring
________________________________
From: Mark Hadfield <Mark.Hadfield@xxxxxxxxxx<mailto:Mark.Hadfield@xxxxxxxxxx>>
To: Derek Goring <nztideman@xxxxxxxxxxx<mailto:nztideman@xxxxxxxxxxx>>
Cc: NetCDF Mailing List
<netcdfgroup@xxxxxxxxxxxxxxxx<mailto:netcdfgroup@xxxxxxxxxxxxxxxx>>
Sent: Friday, 14 June 2013 3:44 PM
Subject: RE: [netcdfgroup] Win 7 Fortran netCDF
Gidday Derek
It’s been a long time.
These days the Fortran library is separate from the C library. You have to
install the C library first; netcdf.h comes with that.
Mark
From:
netcdfgroup-bounces@xxxxxxxxxxxxxxxx<mailto:netcdfgroup-bounces@xxxxxxxxxxxxxxxx>
[mailto:netcdfgroup-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Derek Goring
Sent: Friday, 14 June 2013 15:29
To: netcdfgroup@xxxxxxxxxxxxxxxx<mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
Subject: Re: [netcdfgroup] Win 7 Fortran netCDF
Attached is the config.log file
________________
Derek Goring
________________________________
From: Fabrício Zimmerer Murta
<fabricio@xxxxxxxxxxxxxxxx<mailto:fabricio@xxxxxxxxxxxxxxxx>>
To: Derek Goring <nztideman@xxxxxxxxxxx<mailto:nztideman@xxxxxxxxxxx>>;
netcdfgroup@xxxxxxxxxxxxxxxx<mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
Sent: Friday, 14 June 2013 2:28 PM
Subject: Re: [netcdfgroup] Win 7 Fortran netCDF
I don’t know the error out of the information you given. Maybe you have a
config.log in the same directory the ‘./configure’ script is with enough
information to help people point out the exact problem.
- fabricio
From: Derek Goring<mailto:nztideman@xxxxxxxxxxx>
Sent: Thursday, June 13, 2013 10:24 PM
To: netcdfgroup@xxxxxxxxxxxxxxxx<mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
Subject: [netcdfgroup] Win 7 Fortran netCDF
I'm trying to build netCDF-Fortran 4.2 under cygwin in Win 7 64 bit, but
./configure results in this message:
configure: error: netcdf.h could not be found. Please set CPPFLAGS.
I cannot find netcdf.h anywhere and Google was not much help.
Can anyone help?
________________
Derek Goring
________________________________
_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx<mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
--
Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric
Research Ltd.
________________________________
_______________________________________________
netcdfgroup mailing list
netcdfgroup@xxxxxxxxxxxxxxxx<mailto:netcdfgroup@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
--
Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric
Research Ltd.