ofxOpenNI not working in OF 0.10.0?

Hi All,

I’m getting a ton of errors when trying to implement the ofxOpenNI addon. I’ve followed the directions on how to properly install it withthis video as well as the directions on github.

Is it no longer compatible with this version of OF? I’m using XCode 9.4.1.

Here’s my code: https://github.com/Nedelstein/edeln591_dtOF_2018/tree/master/skeleton_test

To be more specific, I’m getting error messages such as:

No matching function for call to ‘ofLine’
No matching function for call to ‘ofCircle’

They are referring to the code in the ofxOpenNITypes.h file

Hi, ofxOpenNI is quite old. search this forum, as I am almost sure that I read somewhere about a branch that’s working on 0.10.
Otherwise, if you want to pursue such task yourself, one of the things that usually happen is that the #includes got optimized meaning that now you might need to specifically add the include for the functions your compiler is not finding or just put #include "ofMain.h" in the files where these functions are not being found. BTW ofLine and ofCircle are now deprecated, although this still works you will get deprecation warnings so you might want to update this and change for ofDrawLine and ofDrawCircle respectively.

hope this helps.
cheers

Ok cool - thanks Roy! I’ll poke around and see if there’s a workaround.

1 Like