Share via


ntwin32.mak not found

Question

Friday, March 23, 2012 2:58 AM

I just installed Visual Studio 11 Beta. Tried to compile old projects(works fine with VS2010), received error message " ntwin32.mak" not found. I know it is part of the windows SDK but I think the SDK should be already installed with VS11, right?

I searched this file and found it in Program Files\Microsoft SDKs\Windows\v7.0A. The new folder Program Files\Microsoft SDKs\Windows\v8.0A doesn't have this file.

Why is this file missing in new SDK?

All replies (4)

Monday, March 26, 2012 6:48 AM ✅Answered

Hi tfang_moe,

Welcome to the MSDN forum.

According to your description, you received this error message:” FIX: Fatal Error U1052: File 'win32.mak' Not Found”

Please have a look at this page http://support.microsoft.com/kb/133249

This is caused by the Visual C++ setup program failing to copy WIN32.MAK to your INCLUDE directory.

So the solution is: Copy WIN32.MAK from the \MSVC20\INCLUDE directory on the Visual C++ installation CD to your INCLUDE directory.

Since Visual Studio 11 Beta is still a beta version, it may have many unknown problems. Thanks for understanding.

Best regards,

Barry Wang [MSFT]
MSDN Community Support | Feedback to us


Monday, March 26, 2012 5:44 AM

Hi tfang_moe,

According to your description, I'd like to move this thread to "Visual Studio Setup and Installation Forum" for better support, where more experts live.

Thanks for your understanding and active participation in the MSDN Forum.
Helen Zhao

Helen Zhao [MSFT]
MSDN Community Support | Feedback to us


Wednesday, January 9, 2013 1:15 PM

Dear Barry,

I am getting the same error message:” Fatal Error U1052: File 'win32.mak' Not Found” using VS 9.

The page that you give in your post dates from 2001 and it says "This bug was corrected in Visual C++ version 5.0. " which is apparently not the case. Furthermore I cannot find WIN32.MAK on the installation CD. Is it still part of the distribution?

Cheers,

Marcel


Friday, July 8, 2016 4:43 PM

I am getting the same error message:” Fatal Error U1052: File 'win32.mak' Not Found” using VS 9.

The page that you give in your post dates from 2001 and it says "This bug was corrected in Visual C++ version 5.0. " which is apparently not the case. Furthermore I cannot find WIN32.MAK on the installation CD. Is it still part of the distribution?

The file is included with the v7.1 SDK. Once the v7.1 SDK is installed, you can add it to the 'include' environment variable at the command prompt by entering 'set include=%include%;%programfiles(x86)% \Microsoft SDKs\Windows\v7.1A\Include' (without the quotes).