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

Re: Comiling WinNT netCDF C++ interface for version 3.5 beta3 link error



> 
> Subject: Comiling WinNT netCDF C++ interface for version 3.5 beta3 link error
> To: address@hidden
> 
> Hi.
> 
> I am trying to compile the netCDF C++ interface for version 3.5 beta3.
> I have succesfully compiled the C interface but when I attempt to nmake
> /f msoft.mak in the cxx directory I get the following link error
> 
>  link.exe /nologo /dll /incremental:no /DEFAULTLIB:..\libsrc\netcdf.lib
> /out:netcdfpp.dll /implib:netcdfpp.lib netcdf.obj ncvalues.obj
> netcdf.obj : error LNK2001: unresolved external symbol _ncerr
> netcdf.obj : error LNK2001: unresolved external symbol _ncopts
> netcdfpp.dll : fatal error LNK1120: 2 unresolved externals
> 
> is this usual or have I done something wrong somewhere.
> 
> Thanks in advance
> Steve.

1) We have netcdf 3.5 libraries prebuilt for Win 95/98/NT, available at
        
ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.5.win32bin.ZIP. 

2) If you need to do your own source build, did you get the msoft.mak
file from
        
ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/netcdf-3.5.win32make.ZIP. 
??