When deploying Kinect apps, ensure the runtime, components and device are ready...

The Discussion

  • User profile image
    moez

    great post !!

  • User profile image
    DrWave

    Maybe you can help. I have got all the VB samples for SDK1 on this site to run, but I cannot get Designer to load anything. It keeps complaining that Microsoft.Samples.Kinect.WpfViewers cannot be found so it obviously chokes on KinectColorViewer etc. For the life of me I cannot find Microsoft.Samples.Kinect.WpfViewers.dll anywhere on the computer. Is this the problem ? If so where do I get the dll from ? Thanks.

  • User profile image
    gduncan411

    @DrWave:That DLL should be able to be found in %KINECTSDK10_DIR%\samples\bin\ which in my case resolved to C:\Program Files\Microsoft SDKs\Kinect\v1.0\samples\bin\

  • User profile image
    DrWave

    Thanks. But no success. I did find the dll in a...... \bin subdirectory . I guess my problem is I don't know how the following line resolves ....mlns

    xlmns:my="clr-namespace:Microsoft.Samples.Kinect.WpfViewers;assembly=Microsoft.Samples.Kinect.WpfViewers"

    what exactly is in clr-namespace? Do I need to put in a more complete path ? I guess I will have to take the VB.NET tutorial for beginners ! Being good with VB6 is no help anymore.

  • User profile image
    gduncan411

    @DrWave: Check your references...

    I just grabbed the source and opened "KinectforWindowsSDKV1\3.Camera Fundamentals\CameraFundamentalsVB" and it loaded and complied for me fine. With the error you're getting I'd check your references.

    My references auto resolved to "C:\Users\Greg\Desktop\KinectforWindowsSDKV1\KinectforWindowsSDKV1\Dependencies\KinectWpfViewers\bin\Release\Microsoft.Samples.Kinect.WpfViewers.dll"

    To check references, I click on the "Show All" in the Solution Explorer toolbar and then expand References item. Make sure all appear the same, are not marked as unfound, etc.

    If your references are right, if VS can find the DLL via the references, you shouldn't have to touch the WPF at all

  • User profile image
    DrWave

    Hey Greg: Thanks for the tip. You are right - you have to go inside solution explorer, expand everythng, and click on "include in project" for these dll's. Then all is good.

  • User profile image
    Hari

    Thank you Greg. My problem was similar, I had everything references. Just that I had to use these dlls by 'using' in the c# code and now it works fine .

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.