fatal error LNK1104: cannot open file 'kernel32.lib'

The Solution to fatal error LNK1104: cannot open file 'kernel32.lib' is


Check the VC++ directories, in VS 2010 these can be found in your project properties. Check whether $(WindowsSdkDir)\lib is included in the directories list, if not, manually add it. If you're building for X64 platform, you should select X64 from the “Platform” ComboBox, and make sure that $(WindowsSdkDir)\lib\x64 is included in the directories list.

~ Answered on 2013-02-24 15:59:38


Most Viewed Questions: