[gdal-dev] Absolutely no progress trying to compile GDAL with Oracle support on Windows

cheesybiscuits thomaschristian at gmail.com
Mon Nov 26 18:01:13 PST 2012


I've started a couple of threads on this forum recently trying to figure out
similar problems and currently compiling GDAL 1.9.2 from source on Windows
looks like my best option - but STILL I'm getting nowhere. I can't believe
how much time this is taking!

I've set up my nmake.opt file with everything it needs for OCI:

# Add ORACLE support.
# Uncomment the following line to enable OCI Oracle Spatial support.
ORACLE_HOME =	C:\app\mirawan\product\11.2.0
# Uncomment the following if you prefer to build OCI support as a plugin.
# OCI_PLUGIN = YES

!IFDEF ORACLE_HOME
OCI_LIB =	$(ORACLE_HOME)\client_1\sdk\lib\msvc\oci.lib
OCI_INCLUDE =	-I$(ORACLE_HOME)\client_1\sdk\include
!ENDIF

I've verified several times that the relevant files are where I think they
are.

I can compile and install with nmake /f makefile.vc and nmake /f makefile.vc
install with no trouble. No error messages related to OCI are reported in
the build output, even in debug mode (nmake /f makefile.vc DEBUG=1). However
when I try to open an OCI data source I just see 'Unable to open datasource
... with the following drivers'.

I also tried adding OCI support as a plugin but this was even more
frustrating - I followed the steps  here
<http://trac.osgeo.org/gdal/wiki/BuildingOnWindows>   to compile plugins and
nmake ran without any error but apparently nothing changed. TBH I don't even
know if I'm looking at the correct plugin  - I assume I want georaster for
all Oracle support but I can't find any useful documentation on the
relationship between georaster and OCI.

I am pretty much at the point of putting through my screen in anger. Can
anyone give me any idea what's going on here, or a better way of figuring
out what the problem might be?

Even better - can anyone suggest an automated way of exporting Oracle data
to File GeoDatabase that doesn't involve GDAL or FME?

Thanks



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Absolutely-no-progress-trying-to-compile-GDAL-with-Oracle-support-on-Windows-tp5018926.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list