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

RE: 20000111: netcdf-3_5_win32bin



Hi Sunhee:

Yes, its compiled with Microsoft VC++ 5.0.

It might be helpful to look at the make files in

ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.5.win32make
.ZIP

especially fortran\msoft.mak, which creates a test fortran program
called ftest.exe which uses the netcdf dll.

Also, from fortran you should be calling NCOPN, not ncopen(). Im not
sure what "nc_open_" is.

Let me know how it goes,

John Caron
address@hidden

> -----Original Message-----
> From: Unidata Support [mailto:address@hidden]
> Sent: Wednesday, January 12, 2000 8:35 AM
> To: address@hidden
> Subject: 20000111: netcdf-3_5_win32bin
>
>
>
> ------- Forwarded Message
>
> >From: "Lee, Sunhee" <address@hidden>
> >Subject: netcdf-3_5_win32bin
> >Organization: CSIRO
> >Keywords: 200001110413.VAA15352 netCDF NT VC++
>
> Hi
>
> I got netcdf-3_5_win32bin.zip file to install on my Window NT PC.
> I hope to use NetCDF with Lahey Fortran 95 Compiler which has
> dll interface
> with MS Visual C++.
> I have  netcdf.dll and netcdf.lib into my testing
> directory with testing fortran programs (as well as in bin and lib
> directory),
> but it fails to link.
> In fortan program I have 'dll_import  netcdf' and use nc_open_ etc.
> I like to confirm if  the pre-complied netcdf.dll and netcdf.lib are
> compiled with MS VC++ .
>
> Many thanks
>
>
> ------- End of Forwarded Message
>
>