VS2012 can't open the file "Kernel32.lib" solution to the problem

Source: Internet
Author: User

Later after Baidu search found the solution:

1. In the project properties [VC + + directory] under [Include directory] add $ (windowssdk_includepath), in the [Library directory] add $ (windowssdk_librarypath_x86) or $ (windowssdk_ librarypath_x64) can

2. Because you cannot modify the global properties in the property page that the right-click item bounces, you can modify the global project properties as follows, in order to modify them once for each new project:

Found in VS2012 's menu bar [view]-[property manager] (possibly [view]-->[Other view]-->[Property manager]),

In the property manager, click [Microsoft.Cpp.Win32.user] Under an item, where you can modify the properties of the global project

Reference Links: Include and Libraries directories not setup correctly for C + + if VS2010 already installed

I solved it with the first question, namely:

Under Project properties [VC + + directory] [include directory] add $ (windowssdk_includepath)

Add $ (windowssdk_librarypath_x86) in [Library directory]

Reference: The blog post of Weeds.

VS2012 can't open the file "Kernel32.lib" solution to the problem

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.