致命错误C1083:无法打开包含文件:'afxv_cpu.h' [英] fatal error C1083: Cannot open include file: 'afxv_cpu.h'

查看:270
本文介绍了致命错误C1083:无法打开包含文件:'afxv_cpu.h'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Vis Studio 2008中有一个可以编译/链接的应用程序(DLL)。


使用MFC,64位


尝试升级到Vis Studio 2012 Update 1(完整版,非快递,是的,检查MFC安装选项)


(注意:我链接的外部应用程序需要Visual Studio版本,所以我不能使用另一个版本)


尝试编译,我得到:



1 GT;  stdafx.cpp


1> C:\Program Files(x86)\ Microsoft Visual Studio 11.0\VC\atlmfc\include\afxver_.h(95):致命错误C1083:无法打开包含文件:'afxv_cpu.h':没有这样的文件或目录



试图创建一个全新的MFC DLL项目在2012年,同样的问题。


之前有GOT需要回答,但我似乎无法找到它。


帮助?


提前致谢!



解决方案

此问题在VS2015中已修复。请参阅
https://connect.microsoft.com/VisualStudio /反馈/信息/ 892329 /引入-ATL依赖性-ON-MFC


Have an application (DLL) that compiles/links fine in Vis Studio 2008.

Uses MFC, 64 bit

Trying to upgrade to Vis Studio 2012 Update 1 (full version, not express, and yes, MFC install option is checked)

(note: Visual Studio version is required by external application I am linking to, so I can't use another version)

Trying to compile, I get:

1>  stdafx.cpp

1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\afxver_.h(95): fatal error C1083: Cannot open include file: 'afxv_cpu.h': No such file or directory

Tried to create a brand new MFC DLL project in 2012, same issue.

This has GOT to be answered before, but I can't seem to find it.

Help?

Thanks in advance!

解决方案

It appears this issue was fixed in VS2015. See https://connect.microsoft.com/VisualStudio/feedback/details/892329/introduced-atl-dependency-on-mfc


这篇关于致命错误C1083:无法打开包含文件:'afxv_cpu.h'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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