Cannot open Windows.h in Microsoft Visual Studio

后端 未结 7 1544
滥情空心
滥情空心 2020-12-03 06:33

First of all: I\'m using Microsoft Visual Studio 2012

I am a C#/Java developer and I am now trying to program for the kinect using Microsoft SDK and C++. So I starte

7条回答
  •  时光取名叫无心
    2020-12-03 07:06

    I got this error fatal error lnk1104: cannot open file 'kernel32.lib'. this error is getting because there is no path in VC++ directories. To solve this problem

    Open Visual Studio 2008

    1. go to Tools-options-Projects and Solutions-VC++ directories-*
    2. then at right corner select Library files
    3. here you need to add path of kernel132.lib

    In my case It is C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

提交回复
热议问题