Skip to Content.
Sympa Menu

freetds - Re: [freetds] Need help with build on Windows

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Need help with build on Windows
  • Date: Fri, 15 Apr 2016 15:54:54 +0100

2016-04-15 14:29 GMT+01:00 Velichko Yuriy <velichko.yuriy AT gmail.com>:
> Hello!
>
> I've downloaded the latest version of FreeTDS, configured and builded it
> with CMake and Visual Studio 2013.
>
> I need to use only db-lib as a static library.
> So I copied it to the project and linked with it.
>
> But on building the project I have got link errors like this:
>
> : unresolved external symbol _tdsdump_open referenced in function _tdsdbopen
> C:\.......\db-lib.lib(dblib.obj)
>
> I can't find out how to fix this issue.
> Help me please! )
>
> Thanks!

DB-Library depends on libTDS so for statis linking you have to add
both libraries. Also possibly the replacements one.

Frediano




Archive powered by MHonArc 2.6.24.

Top of Page