VS2012与VS2015同时安装用VS2012创建MFC程序时弹出编译错误”fatal error C1083: 无法打开包括文件:“mprapidef.h”: No such file or directory”的解决办法

在WIndows 7操作系统上同时安装VS2012与VS2015并用VS2012创建MFC程序时弹出编译错误”fatal error C1083: 无法打开包括文件:“mprapidef.h”: No such file or directory”的解决办法:

I installed vs2015 and vs2012, then the same problem occurs,however, I find a solution.

open visual studio project settings,click VC++ Directories, find Include Directories,add the following line to it.

C:\Program Files (x86)\Windows Kits\8.1\Include\shared

One may add the corresponding 8.1 paths to the environment variable. Maybe it‘s necessary to do the same thing with the lib environment variable (WindowsSDK_LibraryPath_x86).

时间: 2024-08-02 11:04:00

VS2012与VS2015同时安装用VS2012创建MFC程序时弹出编译错误”fatal error C1083: 无法打开包括文件:“mprapidef.h”: No such file or directory”的解决办法的相关文章

Python 安装zbar-py时出现 无法打开包括文件: “unistd.h” no such file or directory

问题 途中使用的命令是cl.exe,在执行命令的时候找不到对应的unistd.h文件. unistd.h是Unix系统的文件,因此,十有八九,使用的是Windows系统.下面的代码可以修复,但是如果修复了unistd.h,很大概率你还会有更多个*.h文件找不到.劝退. 解决 找到这个编译器所在的文件夹的include文件夹,并且unistd.h文件复制进去即可.可以新建一个文本文件,把名字和后缀名改为unistd.h. #ifndef _UNISTD_H #define _UNISTD_H 1

mysql-python 安装错误 fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory

安装mysql-python之前, 请先安装setuptools. https://pypi.python.org/pypi/setuptools/7.0 下载mysql-python. 下载源码包. https://pypi.python.org/pypi/MySQL-python/1.2.5 解压后执行 python setup.py install 提示错误: fatal error C1083: Cannot open include file: 'config-win.h': No s

vs2008编译错误fatal error C1902: 程序数据库管理器不匹配;请检查安装解决

重装了本本上的Xp系统,如往常一样,升级,装杀毒软件,开发工具.一些进行的非常顺利.然而,在我打开VS2008准备耕作的时候,尽然出现了一邪恶的错误提示:vs2008编译错误fatal error C1902: 程序数据库管理器不匹配:请检查安装解决.进过多家的方法,均无效,重装VS也不行,最后终于百度到一无名大侠的解决方案,问题解决了,在这里记录下来,以备再有不测. 到C:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE下面拷贝msp

vs2010、2012安装时弹出未知错误

可能是上次卸载的时候没有卸载完全的问题吧,最近需要用vs搞些东西,可是怎么都装不上去,多数情况都是安装过程中弹出一些“未知错误”,连具体的错误信息都没有,只是看到弹出错误时停留到的安装步骤,无奈只能用collect工具收集一下日志,搜索日志中发生错误的地方,发现有一个错误说是需要安装合适的.net framework.但本机确实是已经安装过了,没办法,卸掉所有framework重装,推荐使用.net framework cleanup tool去卸载,网上可以去搜一下.卸载后需要重启电脑,然后用

TortoiseSVN-1.8.11 安装时弹出2503错误导致安装失败解决办法

这个问题主要是由于msi格式文件在win8中默认不是以管理员身份运行造成,可通过命令行解决: 右键单击win8左下角启动图标,选择命令提示符(管理员): 输入:msiexec /package 要安装msi程序完整路径及文件名,回车执行: 安装成功:

_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h':问题的解决 mysql安装python

在win7下安装了Python后,想安装python-MySQL,使用pip安装出现如下问题: >pip install MySQL-python _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: command '"C:\Users\fnngj\AppData\Local\Programs\Common\Microsoft

Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法

错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directoryzmalloc.h:55:2: error: #error "Newer version of jemalloc required"make[1]: *** [adlist.o] Error 1make[1]: Leaving directory `/data0/src/redis-2.6.2/src

VS 2008 创建MFC程序对话框的步骤

用过不少编程语言,可是刚开始学的时候最容易忘记一些简单的流程或者生疏了.那么这里就说说VS 2008 创建MFC程序对话框的步骤.我主要是android开发方面的.平时使用jni调用不少c++代码.所以就用到了调试c++代码的MFC啦. 1.文件--新建项目 2.选择对话框,然后就可以拖控件进行监听 3.起始对话框的类名 4.项目新建后,依次双击箭头指向就可看到可视化界面. 5.可视化对话框 这里就可以增加button,输入框以及监听事件,还有你的逻辑代码进行测试.

win7 64 安装mysql-python:_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory

http://www.cnblogs.com/fnng/p/4115607.html http://www.crifan.com/python_install_module_mysql_mysqldb/comment-page-1/ ======================== 今天想在在win7 64位环境下使用python 操作mysql 在安装MySQL-python 时报错: _mysql.c _mysql.c(42) : fatal error C1083: Cannot open