[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 961210: Problems making netcdf-2.4.3 for Windows NT 4.0



>To: address@hidden
>From: "Carl M. Lund" <address@hidden>
>Subject: Problems making netcdf-2.4.3 for Windows NT 4.0
>Organization: .
>Keywords: 199612101558.AA13016

Hi Carl,

> I am trying to make netcdf.lib on a PC with Windows NT 4.0.  I am following
> your instructions in your install file, and have a couple of problems:
> 
> 1.  There is no make file in the util directory, only the file getopt.c

Oops, I think you can ignore the util/ directory and getopt.c, as I
think there is a version of the getopt function available in the C
library that the compiler accesses by default.  If so, we should correct
the instructions in the INSTALL file.

> 2.  In the file msoft32.mak for the xdr directory, there are definitions
>     using \MSVC20\INCLUDE\sys\types.h.  My system cann't find such a file,
>     and indeed, I would think a file would be at something that started
>     with a drive number; i.e., c:\msdev\include\sys\types.h.
>     The actual message I get is
> 
>       don't know how to make '\MSCC20\INCLUDE\sys\types.h'
> 
>     It may be that MSVC20 is a macro, but I thought macros were referred
>     to with a $.  While I have alot of experience with Unix systems, I
>     am just getting started with PCs, so I thought I'd ask you what is
>     going on.

Sorry, I don't know.  To quote from an earlier support reply from Steve
Emerson:

    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 [a pre-release
    containing only the C interface] 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 the source and .mak files necessary to make a Win32 DLL
for the alpha (prerelease) version of the C-language-only part of
netCDF-3, called netcdf-3.1a from

   ftp://ftp.unidata.ucar.edu/pub/netcdf/nc31a.Win32DLL.zip

or a binary pre-release of the version 3 netCDF library (no DLLs) from

   ftp://ftp.unidata.ucar.edu/pub/netcdf/nc31a.zip

Future announcements of newer versions of these will appear on the
netCDF What's New page at

   http://www.unidata.ucar.edu/packages/netcdf/whatsnew.html

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu