none
sdk 1 to sdk1.5 problem RRS feed

  • Question

  • hi guys i have the following problem:

    i ihave a console program for kinect written in sdk1.0 it ran nicely. since i installed sdk 1.5 i cant compile my stuff. i guess the include files causing problems, but cant figure it out. here is the simplified program, that ran previously normaly (just the include files modified). has someone a solution?

    #include "stdafx.h"
    #include  "NuiApi.h"
    #include "NuiSkeleton.h"
    #include "strsafe.h"
    #include "SkeletonBasics.h"
    #include "resource.h"

    HRESULT hr = S_OK;

    int connect()
    {
        h r= NuiInitialize( NUI_INITIALIZE_FLAG_USES_SKELETON);
      if( FAILED( hr ) )
      {
        printf ("KINECT not found \n");
        system("pause");
       
      }
      else
      {
        NUI_SKELETON_FRAME SkeletonFrame;
        NuiSkeletonTrackingEnable;
      }
          
     
    return 0;
    }

    int main()
    {
        
        connect();    


    system ("pause");                        
    return 0;
    }

    thanks in advance

    pit

    • Moved by lucy-liu Tuesday, May 29, 2012 6:07 AM it is not a vsx issue (From:Visual Studio Extensibility)
    • Moved by Mr. Wharty Wednesday, May 30, 2012 1:50 AM (From:Off-Topic Posts (Do Not Post Here))
    Saturday, May 26, 2012 1:36 PM

All replies

  • I will move your question to a Kinect for Windows SDK forum. 

    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    Jeff Wharton
    MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCPD, MCSD, MCITP, MCDBA
    Blog: Mr. Wharty's Ramblings
    Twitter: @Mr_Wharty
    MC ID: Microsoft Transcript

    Wednesday, May 30, 2012 1:50 AM
  • Version 1.5 should be completely compatible - including header files.

    Can you please verify that your project works with 1.0, then upgrade to 1.5 and tell us precisely the error that you get (and the steps that you use?)

    Thx, Rob Relyea
    Kinect for Windows team

    • Proposed as answer by The Thinker Wednesday, May 30, 2012 8:23 PM
    • Unproposed as answer by The Thinker Wednesday, May 30, 2012 8:23 PM
    Wednesday, May 30, 2012 5:01 PM