[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
970326: netCDF and windowsNT 4.0
- Subject: 970326: netCDF and windowsNT 4.0
- Date: Thu, 27 Mar 97 07:51:24 -0700
Katherine,
> cc: address@hidden
> From: Katherine Kolbert <address@hidden>
> Subject: netCDF and windowsNT 4.0
> Organization: ?
> Keywords: 199703262354.QAA25993 netCDF NT4.0
In the above message, you wrote:
> Hi,
>
> I'm working on implementing netCDF on our PC's having already done the
> job using IDL on UNIX systems.
>
> I have successfully downloaded and made nc31a using MSD Visual C++ 4.0
> and Windows NT 4.0. I also have succesfully read and written netCDF
> files from within my C++ code using code obtained from ncgen so the
> basic netCDF functions (like nccreate, ncdimdef, etc.) are working.
>
> My problem is that I now have to deal with error checking and want to
> trap the errors. I have included the line ncopts = NC_VERBOSE; in my
> code. The compiler is giving link errors saying that _ncopts and _ncerr
> (which I am also trying to use) are unresolved external symbols. Do I
> have to specify these variables in some way that is different? I
> noticed in your documentation somewhere that your latest version of
> netCDF has done away with these variables - but I assume that backward
> compatibility would take care of that. Is someone else having this
> problem? Any ideas?
>
> Thanks -
>
> Katherine Kolbert
> address@hidden
Both `ncopts' and `ncerr' should be defined in the netCDF library
`libnetcdf.a'. You can check this via the nm(1) utility.
Please let me know what you find.
--------
Steve Emmerson <address@hidden>