Cannot open Windows.h in Microsoft Visual Studio

后端 未结 7 1542
滥情空心
滥情空心 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:04

    1) Go to C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A for VS2013

    2) Copy the folders Include and Lib (you should check where are your folders in folder windows such as v7.1, v8, v6, etc.)

    3) Paste them into C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC

    I solved my problems like:

    error lnk1104: cannot open file 'kernel32.lib'.
    error c1083: Cannot open Windows.h

    Thanks.

提交回复
热议问题