Visual Studio 12.0 win32.mak not found

3,921 views
Skip to first unread message

David Fishburn

unread,
May 28, 2015, 3:35:49 PM5/28/15
to vim_dev
New machine, a newer installation of VS.


> "C:\Program Files\Mercurial\hg.exe" pull
searching for changes
no changes found


> "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\vsvars32.bat"


> nmake -f Make_mvc.mak debug=no gui=yes cscope=yes OLE=yes FEATURES=HUGE PYTHON=C:\Python27 DYNAMIC_PYTHON=yes PYTHON_VER=27 PERL=C:\Perl DYNAMIC_PERL=yes PERL_VER=516 XPM=xpm\x86 clean

Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation.  All rights reserved.

Make_mvc.mak(247) : fatal error U1052: file 'Win32.mak' not found
Stop.



Any ideas, the only ones I found in Google was this patch:
Patch 7.4.183

Patch 7.4.183 
Problem:    MSVC Visual Studio update not supported. 
Solution:   Add version number. (Mike William) 
Files:            src/Make_mvc.mak 


> cat vim/src/version.c

static int included_patches[] =
{   /* Add new patch number below this line */
/**/
    729,
/**/
    728,

Thanks,
David

Andrei Olsen

unread,
May 28, 2015, 4:26:55 PM5/28/15
to vim...@googlegroups.com
Windows 8.0 and 8.1 SDKs don't include Win32.mak. You would need to include it from 7.0 or 7.1 SDKs.

You can define SDK_INCLUDE_DIR with the correct path or simply:

set INCLUDE=%INCLUDE%;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include

or just copy the file over to c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include

David Fishburn

unread,
May 28, 2015, 9:59:07 PM5/28/15
to vim_dev
...
 
set INCLUDE=%INCLUDE%;c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include

or just copy the file over to c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include

Perfect thanks Andrei.

I will add the INCLUDE to my .cmd file which I use to build it.

David 

Reply all
Reply to author
Forward
0 new messages