Re: Need help with build on Windows
Frediano Ziglio <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CAHt6W4dH9xFBoxS=uJLrhARmyS45b0FLpyr1bgzMOVe-pBHiRA@mail.gmail.com> |
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