none
Cant compile a Kinect C++ program... RRS feed

  • Question

  • I'm on Win7 64Bit, and have installed the 64bit Kinect SDK.
    I can create a managed code program and it works fine, but when I try to create a C++ Kinect Program, when I include <MSR_NuiApi.h>, the compiler complains that,
    in the include file, "interface" is undefined:
    interface INuiInstance
    {...}
    Anyone have any ideas how I can fix it?
    Saturday, June 18, 2011 4:26 AM

Answers

  • Solved. I had to add "#include <Ole2.h>" to the stdafx.h file.

    I wonder why I didnt have to do that on my 32bit system? Hmmmm. Oh well. :-)

     

    • Marked as answer by JeffNik1 Saturday, June 18, 2011 6:30 AM
    Saturday, June 18, 2011 6:30 AM

All replies