In the linker settings you should tell the compiler which .lib files to include. One simple thing that I haven't figured out is how to know which function is in which .lib file when using 3rd party software?
Example: I was recently using Qt which has a huge number of .lib files. After trying those with most obvious names, I had to go through them all by trial and error until I found the correct one. I thought this information would be in the documentation of Qt but failed to find it. I am still a beginner teaching myself so sometimes easy things like this pass me by.