This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Dean, > You might want to let this guy know that if he only needs the C > interface, a binary release of netcdf-3.1a for 32 bit Windows platforms > is available for downloading, and Steve Simpson has made available the > source and .mak files necessary to make a Win32 DLL for netcdf-3.1a. > See the netCDF "What's New" page for details. > > --Russ > To: address@hidden > From: "Dean N. Williams" <address@hidden> > Subject: netCDF on Windows NT 4.0 > Organization: LLNL > Keywords: 199610291800.AA10520 In the above message you wrote: > I have configured your product, netCDF, to various UNIX platforms. Now I > would like to configure it for Windows NT 4.0. It says you have done this > already for Windows 3.51. > > I am new to the PC world and I'm not sure what the INSTALL files is telling > me to do. I did steps 1 and 2: > > 1) copy local_nc.gen to local_nc.h in the libsrc directory > 2) copy msoftyy.c to ncgenyy.c and copy msofttab.h to ncgentab.h in > the ncgen directory > > But I'm not sure what the 1st paragraph is telling me to do: > > On a Windows NT system: > > The netCDF package has been tested on Windows NT 3.51 using Visual > C++ 2.2 and Fortran Powerstation 1.0. The '*.mak' files provided are > for use within these systems. Build in the subdirectories in the > order util, xdr, libsrc, nctest, fortran, ncdump, ncgen. Before > building > > When I look in the directory util there is one file getopt.c and NO '*.mak' > files. > > Are the '*.mak' files used for the Windows NT system or the MSDOS system or > both? > > I'm not sure how to build the netcdf.a library as well. Unfortunately, we don't have any experience building the version 2 netCDF package on a Windows NT system. The stuff that you've seen was contributed by others. We have, however, built the version 3 netCDF package on a Windows NT system. If you only need the C interface, then I recommend that you try this new version (it uses the same file format as version 2). You can obtain it, and pre-built versions for Win32 systems from the `What's New' link on the netCDF homepage: http://www.unidata.ucar.edu/packages/netcdf/index.html If you need the version 2 package installed under Windows NT, then tell me and I'll see what I can do. Please let me know if this helps. -------- Steve Emmerson <address@hidden>