简体   繁体   中英

VS2015 C++ Mistakenly erased "Include Directories" and "Library Directories" in VC++ Directories Property Page

I recently installed VS2015 to look at a large library available online. As part of the set up it instructed to add boost to the Include and Library Directories in VC++ Directories in the properties for the solution. I mistakenly overwrote the fields instead of adding to them and these changes were saved. Now, predictably, nothing compiles. I don't know how to get them back to the original values, tried searching online for the values and have gone so far as to reinstall but boost is still the only thing in the fields.

I tried following This simple "Hello World" tutorial and can't even compile this. Could somebody please provide the default values for these fields, or instructions on how to restore them to the defaults?

Edit: I have tried creating a new solution and the fields are also empty apart from the boost folders, see image. Indeed, I had tried the simple Hello World tutorial on a fresh install before posting.

新解决方案

Step by Step Solution:

  1. Create a new project/solution.
  2. Add the boost directories, don't overwrite.
  3. Delete the older project, as it is virtually useless.

EDIT

(If the above didn't work. This is work Win32 Console Apps Debug Config x86)

Here are the default include directories:

$(VC_IncludePath);$(WindowsSDK_IncludePath);

Here are the default library directories:

$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);$(NETFXKitsDir)Lib\um\x86

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM