Re: VS 2015 support in src/tools/msvc

From: Petr Jelinek <petr(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: VS 2015 support in src/tools/msvc
Date: 2016-04-06 22:51:58
Message-ID: 5705930E.1040905@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 07/04/16 00:50, Michael Paquier wrote:
> On Thu, Apr 7, 2016 at 7:44 AM, Michael Paquier
> <michael(dot)paquier(at)gmail(dot)com> wrote:
>> On Thu, Apr 7, 2016 at 6:11 AM, Petr Jelinek <petr(at)2ndquadrant(dot)com> wrote:
>>> On 06/04/16 22:50, Andrew Dunstan wrote:
>>>> I have spent way too much time on this and don't have it working yet.
>>>> I'm setting up a sacrificial VM from scratch in a last ditch attempt to
>>>> get it working.
>>>>
>>>> Things to note so far:
>>>>
>>>> * VS2015 appears to create version 12 solution files, not version 14,
>>>> and the tools complained about version 14.
>>>> * Windows git (the successor to msysGit) apparently no longer ships
>>>> with bison and flex. So if you need those (i.e. to built from git,
>>>> not tarball) you're probably going to need to install the MsysDTK
>>>> even if you're not using its compiler.
>>>
>>> It's fun to set it up yes. I do have the machine with buildfarm client ready
>>> still (although now also traveling so slightly complicated to get to it) but
>>> I didn't activate it yet as I don't want it to just report failures forever.
>>
>> Petr, did you actually try the patches I sent? I did my tests using
>> the community version of Visual Studio 2015 and a full install of it.
>> If I am the only able to make those working, well we surely have a
>> problem captain.
>
> By the way, if I look at the vcxproj files generated in my case, those
> are correctly with Tools=14.0 or PlatformToolSet=v140.. Perhaps not
> using Win10 differs in the way things are generated.
>

I have community edition on win10 as well, worked fine there yes, I used
just the command-line tools from it.

VS2015 creates version 12 solution only before the patches are applied
for me, once they are applied it works fine.

--
Petr Jelinek http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-04-06 23:01:04 Re: pg_upgrade error regarding hstore operator
Previous Message Michael Paquier 2016-04-06 22:50:00 Re: VS 2015 support in src/tools/msvc