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

后端 未结 13 2297
既然无缘
既然无缘 2020-12-05 10:07

I\'ve been getting this error ever since I installed the .NET Framework SDK for 64-bit programming on my Visual C++ 2010 Express compiler. I can\'t compile even a simple pro

13条回答
  •  生来不讨喜
    2020-12-05 10:50

    Add lib path of WindowsSdks in project->properties->Configuration Properties->VC++ Directories -> Library directories.

    I added following path and error goes::

    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib;

    My system is Win-7, 64bit, VS 2013, .net framework 4.5

提交回复
热议问题