来自MSR_NUIAPI.h的语法错误消息 [英] Syntax Error Message from MSR_NUIAPI.h

查看:106
本文介绍了来自MSR_NUIAPI.h的语法错误消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone,

Hello Everyone,

我的问题是这样,每次我编译包含MSR_NUIAPI.h的程序时,编译器会在之前发出缺少的';' INUIInstance接口声明。我读过这篇文章( http: //social.msdn.microsoft.com/Forums/en-ca/kinectsdknuiapi/thread/01b954d2-4095-4b2b-8713-7b47843d8752
表示我必须先包含windows.h文件MSR_NUIAPI.h,但我之前已经包含它,我真的怀疑这是一个实际的语法错误。另外,我有另一个项目,它包含正确的
顺序中的两个头文件,它编译并运行。两个项目之间的唯一区别是,一个在命令提示符上运行,另一个在WINAPI方法上运行,但我真的怀疑它与它有什么关系。请帮助,任何一点点都有帮助。

My issue is this, every time that I compile my program which includes the MSR_NUIAPI.h, the compiler spits out a missing ';' before the INUIInstance interface declaration. I read this article(http://social.msdn.microsoft.com/Forums/en-ca/kinectsdknuiapi/thread/01b954d2-4095-4b2b-8713-7b47843d8752) which says that I have to include windows.h file before the MSR_NUIAPI.h, however I already have it included before, and I really doubt that this is an actual syntax mistake. Also, I have another project which does include both header files in the correct order and it compiles and runs. The only difference between both projects is that one runs on the Command Prompt and the other runs using the WINAPI method, but I really doubt it has anything to do with it. Please help, any little bit would help.

谢谢

推荐答案

请复制粘贴获取此编译问题的源文件的顶部。特别是,显示所有#include声明,特别是MSR_NuiApi.h的#include

Please copy-paste the top of your source file that gets this compilation issue. In particular, show all #include declarations and in particular the #include for MSR_NuiApi.h

此外,您的程序版本会发出警告,控制台(命令提示符)版本,或者WINAPI版本(我猜你的意思是Windows UI程序,当你说WINAPI方法时使用WinMain函数)。

Also, which version of your program spits out the warning, the console (command prompt) version, or the WINAPI version (I'm guessing you mean Windows UI program, with WinMain function when you say WINAPI method).

Eddy


这篇关于来自MSR_NUIAPI.h的语法错误消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆