A brief discussion on the problem of not being able to find a file when adding a header file in VS

  • 2020-05-12 02:53:27
  • OfStack

If a directory or library file name contains Chinese characters or Spaces, enclose them in double quotation marks.

Project, properties, C/C++, attached include directory: fill in multiple semicolon intervals in the directory where the attached header file is located

Project, properties, linker, additional library directory: fill in multiple semicolon intervals in the directory where the additional dependent library is located

Item, property, linker (+ expand before the dot), input, attached dependency: fill in the name of the attached dependency library

After we add an existing item, the usual problems of not finding the source file and so on are solved


Related articles: