It sounds like you though that the library is the header files. Probably you configured the path to them, so the compiler is happy with you.
But no, the main library content is object and library file, not header files. You need to reference all files you want to line to the
linker, all you *.obj and *.lib files. Besides, you probably need to understand what the build does better, in particular:
http://en.wikipedia.org/wiki/Compiler[
^],
http://en.wikipedia.org/wiki/Linker_%28computing%29[
^].
—SA