Add lib library to VS2019 project

A. Add the header file directory of the project
Project-Properties-Configuration Properties-c/c+±-General-Additional Include Directory: Add the header file storage directory.

B. Add the lib static library path referenced by the file
. Project-Properties-Configuration Properties-Linker-General-Additional Library Directory: Add the lib file storage directory.

C. Add the lib file name referenced by the project
Project—Properties—Configuration Properties—Linker—Input—Additional Dependencies: Add the lib file name

Guess you like

Origin blog.csdn.net/weixin_30072103/article/details/106276712