vs:: add external dependencies in visual studio

 

 

To resolve external dependencies within project. below things are important..
1. The compiler should know that where are header '.h' files located in workspace. <<include folder
2. The linker able to find all specified  all '.lib' files & there names for current project. <<library folder

So, Developer has to specify external dependencies for Project as below..

1. Select Project in Solution explorer.

2 . Project Properties -> Configuration Properties -> C/C++ -> General
specify all header files in "Additional Include Directories".

3.  Project Properties -> Configuration Properties -> Linker -> General
specify relative path for all lib files in "Additional Library Directories".

 

 

 

 

 

 

 

https://stackoverflow.com/questions/6769760/how-do-files-get-into-the-external-dependencies-in-visual-studio-c

 

How do files get into the External Dependencies in Visual Studio C++?

I wonder why one of my projects has VDSERR.h listed under "External Dependencies" and another hasn't and gives me an "undefined symbol" compiler error about a symbol which is de...

stackoverflow.com

 

 

 

 

 

반응형