将VS2008迁移至VS2012时,系统显示错误"afxres.h" [英] Migrating VS2008 to VS2012 getting error "afxres.h"

查看:720
本文介绍了将VS2008迁移至VS2012时,系统显示错误"afxres.h"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经将现有项目从VC2008迁移到VC2012.

编译时出现错误,因为

"C:\ Program Files \ Microsoft Visual Studio 11.0 \ VC \ atlmfc \ include \ afxres.h(17):致命错误RC1015:无法打开包含文件" winres.h""

请让我知道我哪里出错了.

谢谢,
uday.

Hi All,

I have Migrated my existing project from VC2008 to VC2012.

while compiling i am getting error as

"C:\Program Files\Microsoft Visual Studio 11.0\VC\atlmfc\include\afxres.h(17): fatal error RC1015: cannot open include file ''winres.h''"

Please let me know where i have gone wrong.

Thanks,
uday.

推荐答案

参考- VS2012不再包含winres.h ? [ ^ ].
Refer - VS2012 doesn''t include winres.h any more?[^].
报价:

该文件现在是Windows SDK的一部分,并且由于VS2012,SDK位置不同,因此现在称为工具包" '',可在Program Files/Windows Kits中找到.另外,您可以在
中找到winres.h

The file is part of the Windows SDK now and since VS2012 the SDK location is different, it''s now called a ''Kit'' and is found in Program Files/Windows Kits. Sepcifically you can find winres.h in

C:\Program Files (x86)\Windows Kits\8.0\Include\um


这篇关于将VS2008迁移至VS2012时,系统显示错误"afxres.h"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆