In Visual Studio (C++) the other day, I was trying to build some example code and it would not work, even though I was pointing at the right include and lib directories. (I got linker errors)
I asked a friend who fixed the problem by specifying the necessary .lib files in the General Properties->Linker->Input field of the project settings.
My questions:
Simply pointing to the directory with the .lib files is not enough? You need to specifically tell the linker which lib files to link?
By listing the .lib files in the "additional dependencies" field, am I specifying exactly which static libs get built into the exe? If the answer to this is yes, then will these be the ONLY lib files that get built into the exe? Why is it called "additional" dependencies? Is there another place to specify lib files to include? Before I thought this was done by including the necessary header file?
Thanks everyone!
Russel