Home > Back-end >  Vs 2017 "additional include directories to add" is invalid
Vs 2017 "additional include directories to add" is invalid

Time:04-14

As title, easy to want to add your own header file directory (files)
Hope this # include "XXXX", after the compiler can find corresponding in the include directory recursion. H file

(the header file is on E: \ \ c + + NGBase \ NGBase \ include)



Problem 1. As shown, seemed to hint to find ngbase/NGTraitsDef h



Question 2. As shown, a string of undefined identifiers, what is?

I just use vs2017, tried to compile the Linux projects of small white, please comment

CodePudding user response:

Use quotes to live?

CodePudding user response:

Thank you for your answer ~ but quotes, seems to be, or not?
Still say, even if add the include directory, or need to add one by one in engineering. H file?

CodePudding user response:

Open or create a new project
Property manager
Right-click the project
Contained, the two libraries directory yourself add
It is ok

CodePudding user response:

A little leak write

Property manager
Right-click the project
Vc + + directories, right in the directory and add your own library directory path to the file

CodePudding user response:

reference 4 floor ananluowei response:
wrote a little leakage

Property manager
Right-click the project
Vc + + directories, right in the directory and add your own library directory file path

Thanks ~, but still doesn't work

CodePudding user response:

A 64 - bit like then set up
Project properties point to open the debug | 64, the first Microsoft. Cpp. X64. It opens at the user
In vc + + the right contains the directory and libraries directory setting their own custom directory
Then right-click Microsoft. Cpp. X64. User save the
Release | 64 will automatically change

So the next time the new building project has a custom header and the library catalog

CodePudding user response:

refer to 6th floor ananluowei response:
64 seemed to want to set up the
Project properties point to open the debug | 64, the first Microsoft. Cpp. X64. It opens at the user
In vc + + the right contains the directory and libraries directory setting their own custom directory
Then right-click Microsoft. Cpp. X64. User save the
Release | 64 will automatically change

So the next time the new building project has a custom header and the library catalog

Thank you, I try

CodePudding user response:

Check the add include directory configuration and platform, is compatible with the configuration of a debug interface

CodePudding user response:

refer to 6th floor big tail cat replies:
64 seemed to want to set up the
Project properties point to open the debug | 64, the first Microsoft. Cpp. X64. It opens at the user
In vc + + the right contains the directory and libraries directory setting their own custom directory
Then right-click Microsoft. Cpp. X64. User save the
Release | 64 will automatically change

So the next time the new building project has a custom header and the library catalog
this can
  • Related