pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Petr Jelinek <petr@2ndquadrant.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: Re: VS 2015 support in src/tools/msvc
Date: Thu, 7 Apr 2016 00:51:58 +0200
Message-ID: <5705930E.1040905@2ndquadrant.com> (raw)
In-Reply-To: <CAB7nPqSQ7vcCEL9HMYp-W_cWCFZ5VakLzW391YrevUgwjDjJJA@mail.gmail.com>
References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com>
	<CA+TgmoZvG9hiTAY6upq=q1eqJLmXsVq1oJQn4dRc37yRS32u6w@mail.gmail.com>
	<56F41EEA.5040105@2ndquadrant.com>
	<CA+TgmobzFi-AZ+OxFOxG=AjUs=dWw3Vjt-dH4NKXiJ1jEXmAeA@mail.gmail.com>
	<CAB7nPqTEkqF7E7nWcdQSvyOUAV3OGjX=rKSxFTkk03TOJGF5ng@mail.gmail.com>
	<56F53382.3060508@dunslane.net>
	<CAB7nPqSkMU3F2jV5S6tULnUpJMub-Pqc1t0H=MjOTJZFdw3jDg@mail.gmail.com>
	<CA+TgmoZ1gKfVB2r=nr5zPp9eDbzFcnauvW_awwz1xmJF_RJmBQ@mail.gmail.com>
	<56FA9FDF.20108@2ndquadrant.com>
	<CA+TgmoaRAhFtVuMfrAn9R4aeib0azhj3jb+RC9aQ2z-JTYJsag@mail.gmail.com>
	<CAB7nPqRHbMZ5eW+AcwxgkfoU1odh75osFLJKrKkQn2N1gbiceQ@mail.gmail.com>
	<56FB2BF8.3060303@dunslane.net>
	<CA+TgmoakpqU5uXDTkfaCHesFeW8N_aH5w-e991BfxkcREo7-mg@mail.gmail.com>
	<5705768E.4020908@dunslane.net>
	<57057B90.4090200@2ndquadrant.com>
	<CAB7nPqSokOHU0N-eqUQTU=ZEei5h=S4Lc+R=RZ9W=Ki+znRvxA@mail.gmail.com>
	<CAB7nPqSQ7vcCEL9HMYp-W_cWCFZ5VakLzW391YrevUgwjDjJJA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 07/04/16 00:50, Michael Paquier wrote:
> On Thu, Apr 7, 2016 at 7:44 AM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> On Thu, Apr 7, 2016 at 6:11 AM, Petr Jelinek <petr@2ndquadrant.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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (134+ messages)  latest in thread

Message-ID: <5705930E.1040905@2ndquadrant.com>
Permalink:  ../5705930E.1040905@2ndquadrant.com/
Also on:    postgresql.org/message-id/5705930E.1040905@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: petr@2ndquadrant.com, michael.paquier@gmail.com, andrew@dunslane.net, robertmhaas@gmail.com, tgl@sss.pgh.pa.us, magnus@hagander.net
  Subject: Re: VS 2015 support in src/tools/msvc
  In-Reply-To: <5705930E.1040905@2ndquadrant.com>
  References: <CAB7nPqTTcRGbDxS_RA4CWn1B_KRsvN+FTpct0mTp3v3gRWQ70g@mail.gmail.com> <56F41EEA.5040105@2ndquadrant.com> <CA+TgmobzFi-AZ+OxFOxG=AjUs=dWw3Vjt-dH4NKXiJ1jEXmAeA@mail.gmail.com> <CAB7nPqTEkqF7E7nWcdQSvyOUAV3OGjX=rKSxFTkk03TOJGF5ng@mail.gmail.com> <56F53382.3060508@dunslane.net> <CAB7nPqSkMU3F2jV5S6tULnUpJMub-Pqc1t0H=MjOTJZFdw3jDg@mail.gmail.com> <CA+TgmoZ1gKfVB2r=nr5zPp9eDbzFcnauvW_awwz1xmJF_RJmBQ@mail.gmail.com> <56FA9FDF.20108@2ndquadrant.com> <CA+TgmoaRAhFtVuMfrAn9R4aeib0azhj3jb+RC9aQ2z-JTYJsag@mail.gmail.com> <CAB7nPqRHbMZ5eW+AcwxgkfoU1odh75osFLJKrKkQn2N1gbiceQ@mail.gmail.com> <56FB2BF8.3060303@dunslane.net> <CA+TgmoakpqU5uXDTkfaCHesFeW8N_aH5w-e991BfxkcREo7-mg@mail.gmail.com> <5705768E.4020908@dunslane.net> <57057B90.4090200@2ndquadrant.com> <CAB7nPqSokOHU0N-eqUQTU=ZEei5h=S4Lc+R=RZ9W=Ki+znRvxA@mail.gmail.com> <CAB7nPqSQ7vcCEL9HMYp-W_cWCFZ5VakLzW391YrevUgwjDjJJA@mail.gmail.com> <5705930E.1040905@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox