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: Velichko Yuriy <velichko.yuriy 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 18:27:08 +0300

Adding tds.lib helps to avoid many of errors from linker. But appeared
others like

_tds_win_mutex_lock
_tds_sys_iconv
_vasprintf
_strtok_r

I think I can handle with errors by finding missed dependancies.

You mentioned that there is possibility to replacement to one. Prompt how
to do it?

Thanks!

On 15 April 2016 at 17:54, Frediano Ziglio <freddy77 AT gmail.com> wrote:

> 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
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>



--
​С уважением, Величко Юрий.




Archive powered by MHonArc 2.6.24.

Top of Page