Re: Windows 7 x64 builds
Sebastian Bachmann <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
Hi, unfortuatly my mingw setup is a little bit messed up and i got more problems building it with that, than with the msvc. i worked out that the only problem (beside some files that wasn't compiled) was that in_addr_t is not defined. i changed that with a typedef DWORD in_addr_t; now the building works from Visual Studio. -sebastian On 2014-01-22 11:41, Frediano Ziglio wrote: > Did you try with cmake ?? > > Frediano > > 2014/1/22 Sebastian Bachmann <[email protected]>: >> Hi again, >> >> I tried now build it with Visual Studio 2010 and had some more >> success. >> but there are a lot of errors depending on the >> replacements/getaddrinfo.c file, which seems to be not working for >> windows. >> Otherwise there was some missing files like dblib/dbpivot.c, which was >> not builded. >> >> -sebastian >> >> On 2014-01-22 08:49, Sebastian Bachmann wrote: >>> Hi, >>> I was in the need to compile the freetds libs on my windows machine >>> to >>> do some patching in the pymssql lib, which uses freetds. >>> Now the problem with that is, that the stable version 0.92.79 cannot >>> be >>> compiled with VS 9.0 or higher, because it uses Functions from >>> VS6.0(?) >>> like '_vsnprintf' and the latest dev versions have a broken >>> Nmakefile, >>> for example are objects missing like db-lib/dbpivot. If i add them to >>> the build these errors go away but others pop up like a lot of >>> compile >>> errors in getaddrinfo.c... >>> >>> I think all these errors are mostly low hanging fruits and i probably >>> can fix them, but for that i would need to read into the whole code a >>> bit... Which i will probably do but currently my time is limited and >>> i >>> just need a working db-lib.lib and tds.lib for building this python >>> module. >>> >>> is there any quick fix or a new Nmakefile i can use or any hints that >>> can help me to fix it? >>> >>> thanks a lot! >>> >>> -sebastian >>> _______________________________________________ >>> FreeTDS mailing list >>> [email protected] >>> http://lists.ibiblio.org/mailman/listinfo/freetds >> _______________________________________________ >> FreeTDS mailing list >> [email protected] >> http://lists.ibiblio.org/mailman/listinfo/freetds > _______________________________________________ > FreeTDS mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds