Re: Win32 Make

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4cMaKyY_eNO2wz=CYZiSxT83Osk4_=vQ54VHpKtKmPzvw@mail.gmail.com>
2015-07-31 11:58 GMT+01:00 Michael Becker <[email protected]>:
>
>
> On 31/07/15 12:41, Ramiro Morales wrote:
>>
>> On Thu, Jul 30, 2015 at 3:23 PM, Frediano Ziglio <[email protected]>
>> wrote:
>>>
>>> 2015-07-30 15:26 GMT+01:00 Michael Becker <[email protected]>:
>>>>
>>>> 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
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.