<div dir="ltr">Hello, Martin. I added this library and tried it, but still no luck linking. I was looking at the source code, and it appears that all of the ODBC stuff is using header files distributed with Visual Studio. Is there a system dependency where this should be resolved, or is the dependency somewhere in one of the other .lib outputs of my gdal build? Thanks.<div>
<br></div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Sep 5, 2008 at 3:17 PM, Martin Chapman <span dir="ltr"><<a href="mailto:mchapman@fortifieddatacom.com">mchapman@fortifieddatacom.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p><span style="font-size:11.0pt;color:#1F497D">Joel,</span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p><span style="font-size:11.0pt;color:#1F497D">Did you add "</span>gdal_i.lib" to your linker input property in
the project settings?</p>
<p> </p>
<p>Martin<span style="font-size:11.0pt;color:#1F497D"></span></p>
<p><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:gdal-dev-bounces@lists.osgeo.org" target="_blank">gdal-dev-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:gdal-dev-bounces@lists.osgeo.org" target="_blank">gdal-dev-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Joel Odom<br>
<b>Sent:</b> Friday, September 05, 2008 1:12 PM<br>
<b>To:</b> <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<b>Subject:</b> [gdal-dev] Newbie Developer Question About Linking</span></p>
</div><div class="Ih2E3d">
<p> </p>
<div>
<p>I'm new to GDAL, though I'm looking forward to using it.
I've compiled 1.5.2 under Microsoft Visual Studio 2008 and am trying to
experiment with the library. In my application that links to the library
I'm getting an unresolved reference (pasted below). I don't have any ODBC
experience and would appreciate any advice as to how I can resolve
this reference (and some other ODBC unresolved externals that come after this)
so I can compile and use OGR. Thanks much for any help.</p>
<div>
<p> </p>
</div>
<div>
<p> </p>
</div>
<div>
<p> </p>
</div>
<div>
<div>
<p>Error<span> </span>3<span> </span>error LNK2019: unresolved external symbol
_SQLInstallerError@20 referenced in function "public: int __thiscall
CPLODBCDriverInstaller::InstallDriver(char const *,char const *,unsigned
short)" (?InstallDriver@CPLODBCDriverInstaller@@QAEHPBD0G@Z)<span> </span>gdal.lib<span> </span></p>
</div>
<div>
<p> </p>
</div>
<div>
<p> </p>
</div>
<div>
<p> </p>
</div>
<p><br>
-- <br>
<a href="http://giscoder.blogspot.com/" target="_blank">http://giscoder.blogspot.com/</a></p>
</div>
</div>
</div></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br><a href="http://giscoder.blogspot.com/">http://giscoder.blogspot.com/</a><br>
</div></div>