Azita,
Neither C++ nor Windows are on the top of Unidata's priority list, not to
mention the combination. It appears that something is about to change at least
with the C++ part, I think there is a completely rewritten C++ interface
somewhere in incubation.
But I did successfully use the prebuilt 3.6.1 under Visual Studio for some
time, and I also believe I managed to build netcdf.dll 3.6.2. In both cases, I
built the C++ interface into my main program, rather than forcing it into the
netcdf.dll. If I remember correctly, there were only five files to include. I
actually wrote and sent a recipe to the NetCDF list, see
http://osdir.com/ml/lib.netcdf/2006-12/msg00000.html
Now with NetCDF 4, it is a different story, I have not succeeded to build it
under Visual Studio, and I get some errors I don't understand a word of.
See also
http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg09470.html
Good l,uck,
Sjur K :-)
From: netcdfgroup-bounces@xxxxxxxxxxxxxxxx
[mailto:netcdfgroup-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Azadeh Parsamanesh
Sent: 8. november 2010 19:09
To: netcdfgroup@xxxxxxxxxxxxxxxx
Subject: [netcdfgroup] netCDF on C++
Dear all,
I am a newbie here and I am totally confused about installing netCDF on
Visual Studio 2008 C++ Windows 7.
I downloaded the rebuilt dll from:
ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.6.1-beta1-win32dll.zip.
as it was mentioned in the document and copy it to the Windows/Systems 32
directory.
The confusing part is this sentence in the installation document:
"Note: we don't have a C++ interface here"
Does it mean that I can not even run the simple .cpp examples that mentioned in
the website?
Or did I miss some installation steps in between?
I am so grateful if any one can provide me an easy to follow step by step
installation for this case.
Thanks,
Azita