On 10/28/2014 07:10 AM, Brilliantov Kirill Vladimirovich wrote:
> Hello!
> I try build postgresql-9.3.5 on Windows7 x64 with VisualStudioExpess2013.
>
> c:\postgresql-9.3.5\src>nmake -f win32.mak CPU=AMD64
>
> Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> cd include
> if not exist pg_config.h copy pg_config.h.win32 pg_config.h
> NMAKE : fatal error U1045: spawn failed : Invalid argument
> Stop.
>
>
> Can you help me solve this problem?
> Thank you and excuse me for my bad english.
First let me say I have not built Postgres on Windows. I did find this:
http://www.postgresql.org/docs/9.3/interactive/install-windows-full.html
One thing that stands out is:
"All commands should be run from the src\tools\msvc directory."
You might want to read through the above documentation, as I suspect you
are getting a 32/64 mismatch.
--
Adrian Klaver
adrian.klaver@aklaver.com