[Gdal-dev] GDAL - OCI Oracle driver on windows

Frank Warmerdam warmerdam at pobox.com
Fri Mar 3 17:48:03 EST 2006


Vimes wrote:
> Hi, my name is Hendrik.
> 
> I want tp compile GDAL to include the ORACLE spatial driver (on XP with
> ORACLE 10g).
> 
> I have modified the nmake.opt file to include the following :
> 
> ORACLE_HOME = C:\oracle\product\10.1.0\db_1
> 
> !IFDEF ORACLE_HOME
> OCI_LIB =	C:\oracle\product\10.1.0\db_1\OCI\lib\MSVC\ociw32.lib \
> 		C:\oracle\product\10.1.0\db_1\OCI\lib\MSVC\oci.lib
> !ENDIF
> 
> Biut still I get the error "Unable to open datasource" (followed by a list
> of knwon drivers).
> 
> Am I missing something to register the ORACLE driver in gdal ?

Hendrik,

Did you do a clean build after this change?

Does "ogrinfo --formats" list OCI?

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list