pgte / node-openni

OpenNI bindings for Node.js
79 stars 37 forks source link

Build errors on OSX #14

Open raldred opened 11 years ago

raldred commented 11 years ago

I'm on OSX lion, various methods to install OpenNI didn't work, I think I have it installed now (version 1.4.0.2). but when I try to build this repo I get a bunch of warnings, but I get these two build errors:

    ../src/Context.cc:375:64: error: no member named 'boundingBox_' in 'nodeopenni::Context'
        status = this->gesture_generator_.AddGesture("Click",this->boundingBox_);
                                                             ~~~~  ^
    ../src/Context.cc:376:63: error: no member named 'boundingBox_' in 'nodeopenni::Context'
        status = this->gesture_generator_.AddGesture("Wave",this->boundingBox_);

Any ideas? Thanks

chriskilding commented 11 years ago

I'm getting exactly the same error building on Ubuntu 13.04 x64, although the OS isn't really the issue - the problem seems to be that the boundingBox_ variable doesn't exist in the class definition in Context.h.

Commenting out those 2 lines allows it to build successfully for me, although obviously missing those pieces of functionality.

I do still see a ton of warnings though, which probably can't be healthy in the long term.

raldred commented 11 years ago

Yeh that's what I did too. Probably half baked functionality as the commits are recent.

andrerod commented 10 years ago

I'm getting the same compilation error. For now i commented the lines, but if i have time i'll try to figure out what's wrong / fix it.

pammacdotnet commented 10 years ago

How can I edit this file? Where is it?