Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WwOIo-00083f-7W for pgsql-odbc@arkaria.postgresql.org; Mon, 16 Jun 2014 04:13:50 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WwOIn-0003rQ-Mv for pgsql-odbc@arkaria.postgresql.org; Mon, 16 Jun 2014 04:13:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WwOIl-0003rH-Rp for pgsql-odbc@postgresql.org; Mon, 16 Jun 2014 04:13:47 +0000 Received: from mout.kundenserver.de ([212.227.17.24]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WwOIi-0002em-3c for pgsql-odbc@postgresql.org; Mon, 16 Jun 2014 04:13:46 +0000 Received: from ayaki.localdomain (106-69-159-150.dyn.iinet.net.au [106.69.159.150]) by mrelayeu.kundenserver.de (node=mreue102) with ESMTP (Nemesis) id 0Lm4KP-1WNbe30V8L-00ZckK; Mon, 16 Jun 2014 06:13:37 +0200 Message-ID: <539E6EEA.4020207@2ndquadrant.com> Date: Mon, 16 Jun 2014 12:13:30 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "Inoue, Hiroshi" , Heikki Linnakangas CC: "pgsql-odbc@postgresql.org" , Hiroshi Saito , Dave Page Subject: Re: Building psqlODBC installers References: <539AEFAF.1070708@vmware.com> <539CC768.2070803@tpf.co.jp> In-Reply-To: <539CC768.2070803@tpf.co.jp> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:9t/OmhGK5GqyXNvQr9F3JBzqa113ViHF6SgcWg+Pu2C 2NJd75MTY7SAKxMsqz5qBA+TGzkY7100+8utP1i8jRLjbTRyKC wPuI25oVmLFtlnRNyAAy2DW95U75s8rW2E/5j7ankS/OEBAU69 HLKvqT7XhsGDc84P6LnM51QQPD9qREuAEoPi/ZZEzjccuva3cv JnA6XRehfhhFqbM1ajazX3yWjxlwLOicCVhikZAMXfIxfXqu2D Q+HR1hIkltErGTfYVvab7i3jdn/KeQoqjh15lZqO5VUr+JYph2 chtgQnEwqs/0jnFUhRIWKEPeyGlDs+wyzl80+4Mo8WtdjAyq6H f67f+0ZtUcDwNGwOpFni5oLcC2FAW3CsS15L5jBKI X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 06/15/2014 06:06 AM, Inoue, Hiroshi wrote: >> > > It doesn't work under Visual Studio 2013 Express for Windows Desktop > because > 1. TARGET_CPU variable isn't set. > 2. setenv.cmd doesn't exist. > > IIRC the only environment win64.mak works is Windows SDK 7.1. > One of the reason why I switched to MSBuild is to avoid such > kind of troubles. Yeah, SDK detection is a nightmare. I didn't know about the great work you'd done with your Powershell scripts when I wrote pg_build_win (or maybe it wasn't around then). It has some mess in it for SDK detection, and that's just to determine the version and check the SDK, it doesn't actually try to find it. There aren't even standard registry keys for it, as different service pack levels and different versions (Enterprise, normal, Express, etc) have their own registry key locations. It's like Microsoft, for every SDK release, said: "Take the old packaging team out. Lock them outside the doors. Then find some random people from another team and make them package this SDK, with absolutely no knowledge of how the prior team did it." Anything we can use to make that easier is a win, and MSBuild is one of the few things that counts there. IMO, support for SDKs older than v10 (VS 2010, WinSDK 7.1) is completely uninteresting. If someone wants that, they can go get a matchingly ancient version of psqlODBC. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc