I’ve worked with a couple of Visual C++ compilers (VC97, VC2005, VC2008) and I haven’t really found a clearcut way of adding external libraries to my builds. I come from a Java background, and in Java libraries are everything!
I understand from compiling open-source projects on my Linux box that all the source code for the library seems to need to be included, with the exception of those .so files.
Also I’ve heard of the .lib static libraries and .dll dynamic libraries, but I’m still not entirely sure how to add them to a build and make them work. How does one go about this?
In I think you might be asking the mechanics of how to add a lib to a project/solution in the IDEs…
In 2003, 2005 and 2008 it is something similar to:
from the solution explorer – right click on the project select properties (typically last one) I usually select all configurations at the top… Linker Input
Additional dependencies go in there
I wish I could do a screen capture for this.
In VC6 it is different bear with me as this is all from memory
project settings or properties and then go to the linker tab and find where the libs can be added.
Please excuse the haphazard nature of this post. I think that is what you want though.