Cannot open Windows.h in Microsoft Visual Studio

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

    Start Visual Studio. Go to Tools->Options and expand Projects and solutions. Select VC++ Directories from the tree and choose Include Files from the combo on the right.

    You should see:

    $(WindowsSdkDir)\include

    If this is missing, you found a problem. If not, search for a file. It should be located in

    32 bit systems:

    C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

    64 bit systems:

    C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\Include

    if VS was installed in the default directory.

    Source: http://forums.codeguru.com/showthread.php?465935-quot-windows-h-no-such-file-or-directory-quot-in-Visual-Studio-2008!-Help&p=1786039#post1786039

提交回复
热议问题