Checked. The trouble is Debug/Release library. In linker there should be .lib name according to your project Debug/Release. For Debug the .lib is name-d.lib (with -d.lib).