gameoverhack / ofxOpenNI

Wrapper for OpenNI, NITE and SensorKinect
gingold.com.au
Other
246 stars 121 forks source link

Mac El Capitan cannot connect with kinect 1414 #58

Open arnoldyuhin opened 8 years ago

arnoldyuhin commented 8 years ago

I'm working on kinect 1414 and trying to start the example on Mac Pro with OSX El Capitan. The build was success but what I got is a just grey screen. The console are written as below:

[warning] ofxOpenNIDevice[0]: Using a NASTY hack to silence SIGNAL errors on exit - read the comments at line ~1712 of ofxOpenNI.cpp [notice ] ofxOpenNIDevice[0]: Init context... [verbose] ofxOpenNIDevice[0]: Context initilizedstatus:OK [notice ] ofxOpenNIDevice[0]: openni driver version: 1.5.4.0 [notice ] ofxOpenNIDevice[0]: Adding licence... [verbose] ofxOpenNIDevice[0]: Adding licence: PrimeSense 0KOIk2JeIBYClPWVnMoRKn5cdY4=status:OK [notice ] ofxOpenNIDevice[0]: Init device... [verbose] ofxOpenNIDevice[0]: Enumerate devicesstatus:OK [notice ] ofxOpenNIDevice[0]: Found1devices connected [verbose] ofxOpenNIDevice[0]: Creating production tree for device 0status:Failed to open the USB device! [warning] ofxOpenNIDevice[0]: REAL Device could not be initialized - you can still use an ONI [notice ] ofxOpenNIDevice[0]: Adding generator typeXN_NODE_TYPE_IMAGE [verbose] ofxOpenNIDevice[0]: Creating XN_NODE_TYPE_IMAGE generatorstatus:Can't create any node of the requested type! [ error ] ofxOpenNIDevice[0]: setGeneratorResolution() called on invalid generator! [notice ] ofxOpenNIDevice[0]: Adding generator typeXN_NODE_TYPE_DEPTH [verbose] ofxOpenNIDevice[0]: Creating XN_NODE_TYPE_DEPTH generatorstatus:Failed to open the USB device! [ error ] ofxOpenNIDevice[0]: setGeneratorResolution() called on invalid generator! [verbose] ofxOpenNIDevice[0]: Depth generator is not on [notice ] ofxOpenNIDevice[0]: Adding generator typeXN_NODE_TYPE_USER [verbose] ofxOpenNIDevice[0]: Creating XN_NODE_TYPE_USER generatorstatus:Failed to open the USB device! [verbose] ofxOpenNIDevice[0]: Starting XN_NODE_TYPE_USER generatorstatus:Failed to open the USB device! [notice ] ofxOpenNIDevice[0]: Starting ofxOpenNI with threading [warning] ofThread: - name: Thread 1 - Calling startThread with verbose is deprecated. [verbose] ofThread: - name: Thread 1 - Started Thread. ofxOpenNIDevice[0]: stop called ofxOpenNIDevice[0]: trying to lock ofxOpenNIDevice[0]: trying to stop thread ofxOpenNIDevice[0]: releasing all nodes ofxOpenNIDevice[0]: releasing context [ofxOpenNIDevice[0]verbose: releasing depth texture & pixels] ofThread: ofxOpenNIDevice[0]- name: Thread 1 - Thread Finished.: releasing image texture & pixels

ofxOpenNIDevice[0]: full stopped ofxOpenNIDevice[0]: destructor called ofxOpenNIDevice[0]: stop called

It can found my kinect connected but cant access it. Anyone has idea how to fix this problem? Thank you so much!

ghost commented 8 years ago

Do you have the NITE driver 1.5.4? I cannot find it anymore anywhere?

On 15 Feb 2016, at 11:05, Arnold Chan notifications@github.com wrote:

I'm working on kinect 1414 and trying to start the example on Mac Pro with OSX El Capitan. The build was success but what I got is a just grey screen. The console are written as below:

[warning] ofxOpenNIDevice[0]: Using a NASTY hack to silence SIGNAL errors on exit - read the comments at line ~1712 of ofxOpenNI.cpp [notice ] ofxOpenNIDevice[0]: Init context... [verbose] ofxOpenNIDevice[0]: Context initilizedstatus:OK [notice ] ofxOpenNIDevice[0]: openni driver version: 1.5.4.0 [notice ] ofxOpenNIDevice[0]: Adding licence... [verbose] ofxOpenNIDevice[0]: Adding licence: PrimeSense 0KOIk2JeIBYClPWVnMoRKn5cdY4=status:OK [notice ] ofxOpenNIDevice[0]: Init device... [verbose] ofxOpenNIDevice[0]: Enumerate devicesstatus:OK [notice ] ofxOpenNIDevice[0]: Found1devices connected [verbose] ofxOpenNIDevice[0]: Creating production tree for device 0status:Failed to open the USB device! [warning] ofxOpenNIDevice[0]: REAL Device could not be initialized - you can still use an ONI [notice ] ofxOpenNIDevice[0]: Adding generator typeXN_NODE_TYPE_IMAGE [verbose] ofxOpenNIDevice[0]: Creating XN_NODE_TYPE_IMAGE generatorstatus:Can't create any node of the requested type! [ error ] ofxOpenNIDevice[0]: setGeneratorResolution() called on invalid generator! [notice ] ofxOpenNIDevice[0]: Adding generator typeXN_NODE_TYPE_DEPTH [verbose] ofxOpenNIDevice[0]: Creating XN_NODE_TYPE_DEPTH generatorstatus:Failed to open the USB device! [ error ] ofxOpenNIDevice[0]: setGeneratorResolution() called on invalid generator! [verbose] ofxOpenNIDevice[0]: Depth generator is not on [notice ] ofxOpenNIDevice[0]: Adding generator typeXN_NODE_TYPE_USER [verbose] ofxOpenNIDevice[0]: Creating XN_NODE_TYPE_USER generatorstatus:Failed to open the USB device! [verbose] ofxOpenNIDevice[0]: Starting XN_NODE_TYPE_USER generatorstatus:Failed to open the USB device! [notice ] ofxOpenNIDevice[0]: Starting ofxOpenNI with threading [warning] ofThread: - name: Thread 1 - Calling startThread with verbose is deprecated. [verbose] ofThread: - name: Thread 1 - Started Thread. ofxOpenNIDevice[0]: stop called ofxOpenNIDevice[0]: trying to lock ofxOpenNIDevice[0]: trying to stop thread ofxOpenNIDevice[0]: releasing all nodes ofxOpenNIDevice[0]: releasing context [ofxOpenNIDevice[0]verbose: releasing depth texture & pixels] ofThread: ofxOpenNIDevice[0]- name: Thread 1 - Thread Finished.: releasing image texture & pixels

ofxOpenNIDevice[0]: full stopped ofxOpenNIDevice[0]: destructor called ofxOpenNIDevice[0]: stop called

It can found my kinect connected but cant access it. Anyone has idea how to fix this problem? Thank you so much!

— Reply to this email directly or view it on GitHub https://github.com/gameoverhack/ofxOpenNI/issues/58.

arnoldyuhin commented 8 years ago

I could find NITE 1.5.2 but I haven't tried it yet. Will that be solved when I got the NITE installed?

ghost commented 8 years ago

I don’t know. Try the attached file and tell me if you can compile it. Can you send me the NITE 1.5.2 file? best regards,

On 15 Feb 2016, at 16:13, Arnold Chan notifications@github.com wrote:

I could find NITE 1.5.2 but I haven't tried it yet. Will that be solved when I got the NITE installed?

— Reply to this email directly or view it on GitHub https://github.com/gameoverhack/ofxOpenNI/issues/58#issuecomment-184276784.

arnoldyuhin commented 8 years ago

http://blog.nelga.com/setup-microsoft-kinect-on-mac-os-x-10-9-mavericks/ You could find it here, please tell me if that works

ghost commented 8 years ago

Thanks. I will try, then I will give you some feedback.

On 15 Feb 2016, at 16:17, Arnold Chan notifications@github.com wrote:

http://blog.nelga.com/setup-microsoft-kinect-on-mac-os-x-10-9-mavericks/ http://blog.nelga.com/setup-microsoft-kinect-on-mac-os-x-10-9-mavericks/ You could find it here, please tell me if that works

— Reply to this email directly or view it on GitHub https://github.com/gameoverhack/ofxOpenNI/issues/58#issuecomment-184278006.

arnoldyuhin commented 8 years ago

I've tried the above website but it still gives the same error in that sample of NITE nor ofxOpenNI sample. I don't know if that is the problem about the version of OSX or getting no USB2.0 would be a problem.

ghost commented 8 years ago

HI,

I couldn’t install NITE under OSX. I just tried with ofxOpenNI and Xcode. With the libraries included under bin/data/openni/libs the projects work. Under Ubuntu I managed to install the libraries again and the examples work. I have to try to compile the code under QtCreator.

On 16 Feb 2016, at 04:00, Arnold Chan notifications@github.com wrote:

I've tried the above website but it still gives the same error in that sample of NITE. I don't know if that is the problem about the version of OSX or getting no USB2.0 would be a problem.

— Reply to this email directly or view it on GitHub https://github.com/gameoverhack/ofxOpenNI/issues/58#issuecomment-184507597.

arnoldyuhin commented 8 years ago

I'm working on Xcode too but I guess these are some problems about the connection of my kinect. Is your kinect version 1414? Did you just follow the instruction of README to make the example works? Thanks!

ghost commented 8 years ago

Hi,

I'm using the very first Kinect. Which one is 1414???? Do you connect it ti a USB2 or USB3 connection?

2016-02-17 3:48 GMT+00:00 Arnold Chan notifications@github.com:

I'm working on Xcode too but I guess these are some problems about the connection of my kinect. Is your kinect version 1414? Did you just follow the instruction of README to make the example works? Thanks!

— Reply to this email directly or view it on GitHub https://github.com/gameoverhack/ofxOpenNI/issues/58#issuecomment-185004773 .

Paulo Trigueiros

chankalun commented 8 years ago

Hello, I would like to ask if this has been solved please? Cheers, Karen

arnoldyuhin commented 8 years ago

Nope. I would suggest not to use mac with OpenNI or even kinect. If it is a must, try to work on the original addon, ofxKinect. It's sad that almost all of the kinect addons are just work with windows.

leeprobert commented 8 years ago

No luck yet? I know that my OpenFrameworks ofxKinect demo used to work before I upgraded my mac to el Capitan. I think it must be something to do with USB software. No-one seems to have the answer. It's a real shame.

tonigialanze commented 7 years ago

Hi guys, has anyone solved this problem? I'm running on a Mac Pro Late 2013, trying to run the Kinect 1414 but nothing. I'm sure it has to do with the USB as it gives me this message:

InitFromXmlFile failed: Failed to open the USB device!

when I try to run the NiTe sample.

Have you tried newer versions of Kinect, that work with USB 3 maybe?