Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Include files "Winsdkver.h" and "new.h" when migrating to VS2013

$
0
0

Hi.

I'm trying to migrate a project from VS 2010 to VS2013  on a PC running Windows 8.1.

I have installed the Windows Software Development Kit for Windows 8.1 on the PC, but when I attempt to build the project, VS2013 tells me that it cannot find winsdkver.h

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\afxv_w32.h(25): fatal error C1083: Cannot open include file: 'winsdkver.h': No such file or directory

I can see that winsdkver.h is located on the PC in C:\Program files (x86)\Windows Kits\8.1\Include\um\

When I add this folder to the project's Include Directories (not sure if I should do this), the VS2013 then gives an error message when building stating that it now cannot find new.h

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\afx.h(25): fatal error C1083: Cannot open include file: 'winsdkver.h': No such file or directory

New.h is located in C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include, which is included in the path for the include directories.

Any suggestions where to go from here to get the project building?


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>