Skip to Content.
Sympa Menu

freetds - Re: [freetds] Win32 Make

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Win32 Make
  • Date: Fri, 31 Jul 2015 17:18:56 +0100

2015-07-31 11:58 GMT+01:00 Michael Becker <m.becker AT spider-software.net>:
>
>
> On 31/07/15 12:41, Ramiro Morales wrote:
>>
>> On Thu, Jul 30, 2015 at 3:23 PM, Frediano Ziglio <freddy77 AT gmail.com>
>> wrote:
>>>
>>> 2015-07-30 15:26 GMT+01:00 Michael Becker <m.becker AT spider-software.net>:
>>>>
>>>> these functions must be checked using check_symbol_exists
>>>>
>>>> I have changed CMakeLists.txt as follows:
>>>> [...]
>>>>
>>>
>>> Change a bit to do both the tests, it continues to build on old Visual
>>> Studio versions.
>>>
>>
>> I see Frediano commited a variation of the proposed patch, but it
>> seems it still doesn't detect them (at least on AppVeyor):
>>
>> https://ci.appveyor.com/project/FreeTDS/freetds/build/89#L304
>>
>> Michael: Do you get same failure in your local VS2015 environment?
>>
>> Had been playing with CheckSymbolExists and another strategy but can't
>> get it to work either:
>>
>>
>> https://github.com/ramiro/freetds/commit/7c089c360d52114f12c54b3e4923468f4fd0ae86
>> https://ci.appveyor.com/project/ramiro/freetds/build/260
>>
>> Regards,
>>
>
> probabely you have to add "C:\Program Files (x86)\Windows
> Kits\10\Include\10.0.10150.0\ucrt" to your include directories, because
> stdio.h went into "Windows Kits"
> this is done in my environment by setting the env-variable INCLUDE
> compilation works fine with that, but I am still hanging at the link problem
>


For the printf problem I ended up with this patch
https://github.com/FreeTDS/freetds/commit/9503e9accecd47f6c7e71a57b846c3f234313993.
Looks fine and works in both Windows and Linux.
I started having a problem with linking however.
https://ci.appveyor.com/project/FreeTDS/freetds/build/91/job/3wp9db8c3uqvgq0n.
Looks like library that visual studio try to use are not compiled with
same options :( Could be SDKs used is the wrong one ?

Frediano




Archive powered by MHonArc 2.6.24.

Top of Page