[gdal-dev] ArcSDE OGR Driver

Simon Perkins sy at perkins.net
Mon Dec 10 16:45:50 EST 2007


Hi,

I'm having problems compiling GDAL/OGR with ArcSDE read support. I have
the ArcSDE 9.2 SDK installed, and have edited the nmake.opt file to
point to the appropriate places. Compile seems to work OK, but I end up
with an OGR that doesn't seem to have ArcSDE support enabled. For
instance, ogrinfo --formats doesn't list ArcSDE as a supported format.
Also when tracing through the ogrinfo executable in Visual Studio, in
the body of OGRRegisterAll(), the line which calls RegisterOGRSDE() is
never reached, seeming to indicate that the SDE_ENABLED compile time
define is not set.

I'm using Visual Studio 2005 on Windows Vista with the latest GDAL from
Subversion.

Here are the relevant lines from nmake.opt.

SDE_ENABLED = YES
SDE_VERSION=92
SDE_PLUGIN = NO
SDE_SDK = C:\arcgis\arcsde
SDE_INC = $(SDE_SDK)\include
SDE_LIB = $(SDE_SDK)\lib\pe.lib \
          $(SDE_SDK)\lib\sde.lib $(SDE_SDK)\lib\sg.lib


I'm still investigating, but wondered if anyone had any ideas?

Cheers,

Sy




More information about the gdal-dev mailing list