Re: Need help with build on Windows
Velichko Yuriy <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CAN=WvWtDxQ9osTxcfNMdvr84ka=BZOr872xA=jUdaPtMW9yYBA@mail.gmail.com> |
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 <[email protected]> wrote: > 2016-04-15 14:29 GMT+01:00 Velichko Yuriy <[email protected]>: > > 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 > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds > -- С уважением, Величко Юрий. _______________________________________________ FreeTDS mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/freetds