VS2010 VC + + directory has been rejected?

Source: Internet
Author: User

Problem Introduction

An open source project, rtmp Server, was downloaded and the Openssl/bn.h file was not found when prompted for compilation. Then after downloading the latest OpenSSL (openssl-1.0.0d), compile to OpenSSL. The header file directory Inc32 and the library file directory Out32dll are generated.
Now it is necessary to introduce the compiled library into the project.
The include path can be set in the properties of each project when the project is relatively simple. But if there are many projects in this project, a configuration down, very complex. Is there a way to set up the whole project?
When vc6.0, you can set the global include include path in the tool. But in vs2010, the item shows that the C + + directory has been deprecated? Is there no way out?


Workaround:

View-Properties Management

[English version View->other Window--Property Manager]


Here are the settings for debug and release.

Open Properties page [property]

After testing, the change here is a global modification.
For example, if you add other include paths to Admin->debug->microsoft.cpp.win32.user, the debug-> in Applestreamingclient The Microsoft.Cpp.Win32.user has been modified as well. It's so simple.
Think of a sentence, "One can't, earn hundreds of less".


Supplemental content

The Chinese version of VS and the English version seem a little different. But those are all in the property page.

If the compilation has a connection error, there is no function or variable found

Then we have to set up the additional Lib for the project.

In the English version, add the required lib in the linker->input-> Additional Dependencies Note each lib row

VS2010 VC + + directory has been rejected?

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.