VS2012 and VS2015 Install the MFC program with VS2012 pop-up compilation error "Fatal error C1083: Could not open include file:" Mprapidef.h ": No such files or directory" workaround

Source: Internet
Author: User

A compilation error "Fatal error C1083: Cannot open include file:" Mprapidef.h ": no such file or VS2012 installed on Windows 7 operating system with VS2015 and VS2012 when creating MFC program Directory "Workaround:

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 does the same thing with the LIB environment variable (windowssdk_librarypath_x86).

VS2012 and VS2015 Install an MFC program with VS2012 pop-up compilation error "Fatal error C1083: Could not open include file:" Mprapidef.h ": No such files or directory" workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.