If you want to add a library to your C++ project in Visual Studio , you have to do all of the three :
1- Add the library's include directories under
Project Properties => C/C++ => General => Additional Include Directories
2- Add the library's Lib directories under
Linker => General => Additional Library Directories
3- The last step (the whole purpose of this post) is to list all the .Lib files that you're going to use specifically to Linker=>Input=>Additional Dependencies , and for this i suggest that you
1- Add the library's include directories under
Project Properties => C/C++ => General => Additional Include Directories
2- Add the library's Lib directories under
Linker => General => Additional Library Directories
3- The last step (the whole purpose of this post) is to list all the .Lib files that you're going to use specifically to Linker=>Input=>Additional Dependencies , and for this i suggest that you
- Go inside the directory containing the .lib files
- Right click in any empty area inside the folder while holding shift, this will bring the "Open command window here" option
- Run the command
dir *.lib /B|clip
No comments:
Post a Comment
I'd like to read your comments