OpenDap and NetCDF For Win32

Robert Morris Robert.O.Morris at jpl.nasa.gov
Tue Mar 14 11:10:49 PST 2006


Hi Matthew:

http://scm.opendap.org:8090/svn/trunk/win32/docs/HowToBuild.txt

are my instructions for doing that.  You do need the later compiler
mentioned there.  See the note right after step #7, that is
essentially where I left off - didn't complete step #7 (the netcdf
library).

One option for you is to just give me a few days or over the
weekend and I'd have that netcdf library likely done - not released,
but quite buildable by you without having to slog thru problems.

If you want to get the "right" compiler and build, completing step #7
by resolving the current issues, that good (very good) also.  In that
case, please submit any necessary changes to me.

If the static version of the netcdf library suffices for you.  I believe
step #7 will give you that (It fails building the dynamic link version
later on).

It's also possible that someone might have submitted something that
breaks steps #1-6 since the last time I iterated through that.

Thanks,
Rob


-----Original Message-----
From: James Gallagher [mailto:jhrg at mac.com] 
Sent: Tuesday, March 14, 2006 10:10 AM
To: Matthew Hanna
Cc: Gallagher James; Tech DODS; Morris Robert
Subject: Re: OpenDap and NetCDF For Win32


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 ++
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






More information about the Opendap-tech mailing list