<br><br><div><span class="gmail_quote">On 12/19/06, <b class="gmail_sendername">Francesco Sozzi</b> <<a href="mailto:fsozzi@intercad.ch">fsozzi@intercad.ch</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi All,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I'm trying to compile ogr with Oracle
Spatial.</font></div>
<div><font face="Arial" size="2">I changed nmake.opt with the
following:</font></div>
<div><font size="2"><font face="Arial"></font></font> </div>
<div><font size="2"><font face="Arial"># Add ORACLE support.<br>ORACLE_HOME =
D:\oracle\ora92</font></font></div>
<div>
<p><font face="Arial">!IFDEF ORACLE_HOME<br>OCI_LIB =
$(ORACLE_HOME)\oci\lib\msvc\ociw32.lib
\<br>$(ORACLE_HOME)\oci\lib\msvc\oci.lib<br>!ENDIF<br></font></p>
<p><font face="Arial">ORACLE_HOME path is correct.</font></p>
<p><font face="Arial">Then I compiled and I got binaries (such as
ogr2ogr.exe).</font></p>
<p><font face="Arial">But if I try to issue a test as </font></p>
<p><font face="Arial">ogr2ogr -f OCI OCI:scott/tiger@franz
C:\App\TI-CantoneSHP\comuni.shp</font></p>
<p><font face="Arial">I get the error "Unable to find driver 'OCI'"</font></p>
<p><font face="Arial">Any suggestions?...</font></p>
<p><font face="Arial">Best regards</font></p>
<p><font face="Arial">Francesco</font></p>
<p></p></div></div><br></blockquote></div><br>Hello Francesco,<br>which version of gdal are you compiling.<br><br clear="all">if you using gdal-1.3.2 or later <br>comment out : #OCI_PLUGIN = YES <br>this probably should solve the problem.
<br><br>-- <br>Best Regards<br><br>Abhay Menon<br><br>