[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 970908: not compile by vc5.0
- Subject: Re: 970908: not compile by vc5.0
- Date: Mon, 08 Sep 1997 08:40:34 -0600
>To: address@hidden
>From: SONGYONGJIA <address@hidden>
>Subject: not compile by vc5.0
>Organization: national climate center
>Keywords: 199709070952.DAA05438
Hi,
> I want to compile the file nctst.cc in cxx directory from the file
> "netcdf-3.3.1.tar.Z" by visual c++ 5.0,
> but I got some errors, such as: not found gerneric.h, strstream.h, and
> declare(). Whether is there the c++ interface by used in win95 or winnt?
This means C++ compiler is unable to locate some standard include files
that should be installed with any C++ compilation system (generic.h,
strstream.h). From the above, I would guess that your C++ compiler may
not be able to compile and link the following standard 2-line program:
#include <iostream.h>
main() {cout << "Hello, world\n"; }
You can either find out what's needed to get the C++ compiler to compile
and link standard C++ programs or just ignore the C++ interface, since
the FORTRAN and C interfaces work fine without the C++ interface, and
the ncdump and ncgen utilities are also independent of the C++ interface.
You might also want to get the Win32 port of netCDF for the Windows NT
and Windows 95 platforms, from the directory
ftp://ftp.unidata.ucar.edu/pub/netcdf/contrib/win32/
where there is a README file that explains how to build it and a
customized "maks.zip" file containing "nmake" Makefiles for Visual C++
5.0.
--Russ
_____________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu