joshuajnoble / ofxKinectV2

of addon for Kinect V2
47 stars 22 forks source link

Possible problem with the supplied DLL files #8

Open nilspin opened 9 years ago

nilspin commented 9 years ago

I built a sample ofxKinectV2 app but my program crashes immediately after it is run. What happens is : Kinect starts up(I can see the 3 red lights) so it seems kinect is sending data but compiling from the IDE itself I am shown error "Unhandled exception at 0x67E243FA (KCBv2.dll) in KinectTest1.exe: 0xC0000005: Access violation reading location 0x00000004" I tried all possible configurations of these files(release,debug versions of OF too) but the error persists.

I’m suspecting since KCBv2.dll is originally downloaded(and not built on my machine) if I built it myself maybe the error would go away. Any idea how to I can build the dll ? or any other solution?

joshuajnoble commented 9 years ago

I'm not sure if the MS SDK for this available at present, I can't find it on the the MS Open Tech github repo and I'm never sure what they've made available. You might try just making sure that some of the other Kinect V2 programs run on your system first?

nilspin commented 9 years ago

Kinect SDK sample programs compile and run just fine. I wanted to go openframeworks way because I didn't want the hassle of learning WinSDK and directX.

joshuajnoble commented 9 years ago

My bad, it's available here: https://github.com/MSOpenTech/KinectCommonBridge/tree/2.0

nilspin commented 9 years ago

Ahhh... Thank you! I'll compile it and let you know. :)

nilspin commented 9 years ago

kinect_error

I still get the same error. But atleast I can localise it to KCBv2Lib.cpp The application I'm trying to build is described here : http://rbarraza.com/using-ofxkinectv2-with-of/