First thing to check is your project properties (right click on project, click Properties
).
External libraries need to be specified in the Linker->Input->Additional Dependencies
field, either by absolute path or in conjunction with the other VS path properties.
You can look in Linker->Command Line
and check that the .lib files you want are actually being passed to the linker.
An alternate method is to turn off the Suppress Startup Banner
option in the Linker->General
options, and then check the build output to make sure it has what you want.
If you know that the libraries you want are being linked, another useful trick is to check the output of the strings
command (in linux or cygwin) or dumpbin /HEADERS
in the VS command prompt. You can look through the output of these commands for the symbol VS claims is missing to verify that it really is defined in the .lib file. Sometimes larger software packages have multiple .lib files, so this can help make sure you are linking the one that has the symbol you want.