[Gdal-dev] trouble on compiling and using ogr with Oracle Spatial

Francesco Sozzi fsozzi at intercad.ch
Tue Dec 19 11:06:55 EST 2006


Hi All,

I'm trying to compile ogr with Oracle Spatial.
I changed nmake.opt with the following:

# Add ORACLE support.
ORACLE_HOME = D:\oracle\ora92
!IFDEF ORACLE_HOME
OCI_LIB = $(ORACLE_HOME)\oci\lib\msvc\ociw32.lib \
$(ORACLE_HOME)\oci\lib\msvc\oci.lib
!ENDIF


ORACLE_HOME path is correct.

Then I compiled and I got binaries (such as ogr2ogr.exe).

But if I try to issue a test as 

ogr2ogr -f OCI OCI:scott/tiger at franz C:\App\TI-CantoneSHP\comuni.shp

I get the error "Unable to find driver 'OCI'"

Any suggestions?...

Best regards

Francesco


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20061219/b0e14f72/attachment.html


More information about the Gdal-dev mailing list