OpenDap and NetCDF For Win32

James Gallagher jhrg at mac.com
Tue Mar 14 10:10:11 PST 2006


On Mar 14, 2006, at 6:46 AM, Matthew Hanna wrote:

> Hi!
> I am trying to build LibDap for Windows using VC7 and I hope to  
> build the NetCDF library after that.  I have somehow got a copy of  
> the source code for LibDap-3.6.0 and LibNC-Dap-3.6.0.  I have also  
> compiled the latest versions of libCurl-7.15.2, iconv--1.9.2,  
> libXML2-2.6.23, zLib--1.2.3, and OpenSSL-0.9.8a.  I have also got  
> cppunit-1.10.2.tar.gz and pthreads-w32-2-7-0-release.tar.gz that I  
> plan to add to the mix once I am sure about how to get LibDap  
> working.  What suggestions can you offer?

CppUnit is used for the unit tests and is not needed for a build.  
However, pthreads is used for the build. I forget if it's required or  
used if available; check the README and INSTALL that came with libdap.

>   My LibDap code doesn't appear to be complete so where should I  
> get the code from?

You can get a source tar.gz file from opendap.org.

> How about the LibNC-Dap?

Same.

> Also, where do I find the code for the xdr library?

There is a copy in libdap/win32.

>   I was wondering if ithere is a way to use the latest NetCDF  
> libraries from UniData as well.  Would all this work better with a  
> different compiler?

I'm CC Rob Morris on this since he's our win32 build expert. I think  
VC++ is probably the best best on win32. We tried using the mingW  
system (which uses gcc) but it was more work than VC++ in the end and  
less useful give the C++ DLL compatibility issues.

Hope this helps

James
>
> Thanks!
> Matthew Hanna
> irtheman at gmail.com

--
James Gallagher                jgallagher at opendap.org
OPeNDAP, Inc                   406.723.8663

-------------- next part --------------



More information about the Opendap-tech mailing list