[gdal-dev] Newbie Developer Question About Linking

Joel Odom joelodom at gmail.com
Fri Sep 5 15:21:20 EDT 2008


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.



On Fri, Sep 5, 2008 at 3:17 PM, Martin Chapman <
mchapman at fortifieddatacom.com> wrote:

>  Joel,
>
>
>
> Did you add "gdal_i.lib" to your linker input property in the project
> settings?
>
>
>
> Martin
>
>
>
> *From:* gdal-dev-bounces at lists.osgeo.org [mailto:
> gdal-dev-bounces at lists.osgeo.org] *On Behalf Of *Joel Odom
> *Sent:* Friday, September 05, 2008 1:12 PM
> *To:* gdal-dev at lists.osgeo.org
> *Subject:* [gdal-dev] Newbie Developer Question About Linking
>
>
>
> 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.
>
>
>
>
>
>
>
> Error    3          error LNK2019: unresolved external symbol
> _SQLInstallerError at 20 referenced in function "public: int __thiscall
> CPLODBCDriverInstaller::InstallDriver(char const *,char const *,unsigned
> short)" (?InstallDriver at CPLODBCDriverInstaller@@QAEHPBD0G at Z)  gdal.lib
>
>
>
>
>
>
>
>
>
> --
> http://giscoder.blogspot.com/
>



-- 
http://giscoder.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080905/f261a583/attachment.html


More information about the gdal-dev mailing list