Thanks everyone for the pointers. I assume the Linux version compiles with GCC. From what I read, Visual Studio is needed for a win32 compile, which I do not have. Any chance I could do this with GCC in win32?
Thanks again, Steve -----Original Message----- From: Frank Warmerdam [mailto:[EMAIL PROTECTED] Sent: Thu, October 23, 2008 10:20 AM To: Mullins, Steven Cc: [email protected] Subject: Re: [gdal-dev] Build OGR with ESRI SDE Mullins, Steven wrote: > I am interested in using OGR to read data from an ArcSDE (9.2-9.3) database. > The manual page at http://www.gdal.org/ogr/drv_sde.html indicates that GDAL > must be compiled "with the ESRI provided ArcSDE client libraries". > > Before I sink a lot a time into this, can anyone share their experience > compiling OGR with ESRI libraries for SDE? What specific steps need to be > taken to accomplish this? Steve, On linux this boils down to setting one or both of: --with-sde=DIR Include ESRI SDE support (DIR is SDE's install dir). --with-sde-version=VERSION NUMBER Set ESRI SDE version number (Default is 80) when configuring. On Windows setting of: #SDE_ENABLED = YES #SDE_VERSION=91 #SDE_PLUGIN = NO #SDE_SDK = C:\arcgis\arcsde #SDE_INC = $(SDE_SDK)\include #SDE_LIB = $(SDE_SDK)\lib\pe$(SDE_VERSION).lib \ # $(SDE_SDK)\lib\sde$(SDE_VERSION).lib $(SDE_SDK)\lib\sg$(SDE_VERSION).lib in gdal/nmake.opt I'd appreciate someone setting up a topic on SDE under: http://trac.osgeo.org/gdal/wiki/BuildHints if interesting information is collected. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
