Re: Windows 7 x64 builds

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4eMeF7tKOy=jaZ8V86xEED7V88BuYAiJtupXSEegxcbYA@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.