Problems setting up netCDF on Windows

Hello,
I am a new user of netCDF.  I am trying to get up and running using
netCDF on Windows XP.

First, I downloaded the Windows DLL binaries (version 3.6.1 seems to be
the most recent one available), but it did not have netcdf.h in it.


Next, I downloaded the netCDF 3.6.2 source distribution, but it does not
have the .SLN files needed for compiling with Visual Studio 2005 (or
2003).


So, I downloaded the netCDF 3.6.1 source distribution and tried to
compile it.  When compiling in Release mode, I get 6 Build Error Tasks:
[file paths were redacted in all messages below]
1.  nc_test range error: status = 0 FAILURE at line 5338 of
\netcdf-3.6.1\src\nc_test\test_put.c: range error: status = 0 (file:
nc_test)
2-4.  nc_test range error: status = 0 (file: nc_test)
5.  \netcdf-3.6.1\src\nc_test\large_files.c(77): warning C4013: 'getopt'
undefined; assuming extern returning int
6.  \netcdf-3.6.1\src\nc_test\quick_large_files.c(74): warning C4013:
'getopt' undefined; assuming extern returning int


Finally, I got the netCDF-3 daily snapshot (dated 2007-06-20).  I get
one Build Error Task, but I think this one seems innocuous since I am
not using the Fortran interface (I plan on using the C++ interface):
1.  \netcdf-3.6.2-snapshot2007062014\fortran\fort-control.c(98): warning
C4141: 'dllexport' : used more than once

However, when I run nc_test, I get two failures (this also occurred with
the 3.6.1 distribution as well):

Switching to netCDF classic format.
*** Testing nc_open ... 
        FAILURE at line 101 of
\netcdf-3.6.2-snapshot2007062014\nc_test\test_read.c: nc_open of
non-netCDF file: status = 2
        ### 1 FAILURES TESTING nc_open! ###

Switching to 64-bit offset format.
*** Testing nc_open ... 
        FAILURE at line 101 of
\netcdf-3.6.2-snapshot2007062014\nc_test\test_read.c: nc_open of
non-netCDF file: status = 2
        ### 1 FAILURES TESTING nc_open! ###


Will these failures affect my ability to use the netCDF library?  Or can
I go ahead and use the DLLs that were produced?

Thanks,
Marcus

-- 
Marcus Kwok <marcus.kwok@xxxxxxxxxx>
Johns Hopkins University Applied Physics Laboratory, AISD VIA Group
Office: 13-N520
Phone: (443) 778-7858 (Baltimore) or (240) 228-7858 (DC)

==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================