Hi there.. we use some windows here and was wondering if there are currently
any files available to work with VC++ 6.0?? I havent used it in awhile but
I remember I tried to get it to work and could never get it to compile..
thanks in advance!
chad
-----Original Message-----
[mailto:owner-netcdfgroup@xxxxxxxxxxxxxxxx] On Behalf Of Ed Hartnett
Sent: Friday, May 07, 2004 10:33 AM
Howdy all!
There is now a file on the Unidata ftp site which will allow the
compilation of the netcdf.dll with MS Visual C++ 7.0 (i.e. the .NET
version of C++).
Get the file:
ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf_vc_net_building.Z
IP
and unzip it in the src/libsrc directory of the netCDF
distribution. (I've tested with 3.5.1, but earlier and future versions
should work as well). Open the file netcdf.sln with Visual Studio, and
build as usual. Release and Debug build configurations are
available. Select in the usual Visual Studio way.
This only applies to the C interface. Currently there is no .NET way
to compile the Fortran interface, but I'll try that soon. I haven't
tried the C++ interface either yet.
To use the netcdf.lib library file in VC++ you must add its directory
in your project settings, or else move the netcdf.lib and netcdf.dll
files to some directory that is already searched for libraries. Check
out the windows help files for detailed instructions on how to use
.lib files.
Here in NetCDF World Headquarters, on the 97th floor of UCAR Tower #1,
we don't use Windows much, so any feedback from Windows users would be
most appreciated.
Thanks, and happy .NETing!
Ed Hartnett
Unidata
>From owner-netcdfgroup@xxxxxxxxxxxxxxxx 07 2004 May -0600 11:01:41
Message-ID: <wrxk6zocgsq.fsf@xxxxxxxxxxxxxxxxxxxxxxx>
Date: 07 May 2004 11:01:41 -0600
From: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
In-Reply-To: <000601c43454$63fae220$13b2decc@msrc1070>
To: "Chad Saxon" <csaxon@xxxxxxxxxxxx>
Subject: Re: zip file now available to allow netcdf C code compile in VC++.NET
Received: (from majordo@localhost)
by unidata.ucar.edu (UCAR/Unidata) id i47H1h4V025298
for netcdfgroup-out; Fri, 7 May 2004 11:01:43 -0600 (MDT)
Organization: UCAR/Unidata
Keywords: 200405071701.i47H1ftK025286
Cc: <netcdfgroup@xxxxxxxxxxxxxxxx>
References: <000601c43454$63fae220$13b2decc@msrc1070>
Lines: 14
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-netcdfgroup@xxxxxxxxxxxxxxxx
Precedence: bulk
Reply-To: Ed Hartnett <ed@xxxxxxxxxxxxxxxx>
"Chad Saxon" <csaxon@xxxxxxxxxxxx> writes:
> Hi there.. we use some windows here and was wondering if there are currently
> any files available to work with VC++ 6.0?? I havent used it in awhile but
> I remember I tried to get it to work and could never get it to compile..
> thanks in advance!
>
Yes, there are, but you must build from the command line.
Get netcdf-3.5.0.win32makeVC6.ZIP from the contrib/win32 directory on
the ftp site, and read the instructions.
Ed