[gdal-dev] ArcSDE OGR Driver
Tamas Szekeres
szekerest at gmail.com
Mon Dec 10 17:43:52 EST 2007
Simon,
I would suggest to use it this way:
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
If you want to compile ogr with SDE included in.
Otherwise you might also build the SDE driver as a plugin.
Best regards,
Tamas
2007/12/10, Simon Perkins <sy at perkins.net>:
> 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
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
More information about the gdal-dev
mailing list