Cannot open Windows.h in Microsoft Visual Studio

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

    If you already haven't done it, try adding "SDK Path\Include" to:

    Project → Preferences → C/C++ → General → Additional Include Directories
    

    And add "SDK Path\Lib" to:

    Project → Preferences → Linker → General → Additional Library Directories
    

    Also, try to change "Windows.h" to

    If won't help, check the physical existence of the file, it should be in "\VC\PlatformSDK\Include" folder in your Visual Studio install directory.

提交回复
热议问题