Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2017: fatal error RC1015: cannot open include file 'winres.h'

I just downloaded Visual Studio 2017 and converted my dialog-based C++/MFC project with it (from Visual Studio 2008 SP1.) But then when I go to Resources it shows this error:

fatal error RC1015: cannot open include file 'winres.h'

enter image description here

And idea how to fix this?

like image 361
c00000fd Avatar asked May 30 '17 20:05

c00000fd


1 Answers

I just also came across this issue. It seems my friend missed to push some VS 2017 meta file to the server. My quick solution is to change the Windows SDK version to match the Windows 10 OS version or below. enter image description here

You can check your OS version from the cmd tool. enter image description here

like image 115
Jeff T. Avatar answered Oct 04 '22 04:10

Jeff T.