码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2017-12-15 23:31:33      阅读:988      评论:0      收藏:0      [点我收藏+]

标签:variable   install   解决   occurs   red   ++   include   包括   打开   

在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).

 

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

标签:variable   install   解决   occurs   red   ++   include   包括   打开   

原文地址:http://www.cnblogs.com/rainbow70626/p/8045025.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!