Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows

Поиск
Список
Период
Сортировка
От Juan José Santamaría Flecha
Тема Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows
Дата
Msg-id CAC+AXB1FbHdKwh+3JAmCOyRqecnRWCo3Tz1GzQLK07FT74OO3g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-bugs
On Wed, Jul 3, 2019 at 1:36 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> Looking at the code, it looks to be an effect of the version checking
> in CreateProject()/MSBuildProject.pm, causing a VC2019Project object
> to be generated instead of a VC2017Project one.  Your scripts seem to
> be rather advanced, and I have little idea how your installation looks
> like.  What's the return result of DetermineVisualStudioVersion()?
> With VS 2017, the result is assumed to be between 14.10 and 14.20 as
> far as I know.  You can also know that by looking at the version of
> nmake shipped with your installation using the native tool terminal
> for example.  I guess that in your case the version of nmake is
> between 14.20.XX.YY and 15.00.NN.PP?

In that building environment, if you edit
".\src\tools\msvc\buildenv.pl" to add the following line:

$ENV{MSBFLAGS}="/p:PlatformToolset=v141";

Does it work as workaround for you?

Anyhow, could you please share what nmake version are you using?

Regards,

Juan José Santamaría Flecha



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #15893: pg_dump is not working like as postgres version 10
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows