Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error on mac #20

Open
chilijung opened this issue Nov 3, 2013 · 8 comments
Open

build error on mac #20

chilijung opened this issue Nov 3, 2013 · 8 comments

Comments

@chilijung
Copy link

> node-gyp configure build

  CXX(target) Release/obj.target/openni/src/Callbacks.o
../src/Callbacks.cc:1:9: warning: 'BUILDING_NODE_EXTENSION' macro redefined
#define BUILDING_NODE_EXTENSION
        ^
<command line>:4:9: note: previous definition is here
#define BUILDING_NODE_EXTENSION 1
        ^
In file included from ../src/Callbacks.cc:6:
../src/Context.h:7:10: fatal error: 'XnCppWrapper.h' file not found
#include <XnCppWrapper.h>
         ^
1 warning and 1 error generated.
make: *** [Release/obj.target/openni/src/Callbacks.o] Error 1

I'm new on kinect platform, I'm getting error message above. Do anyone know what's going on? thanks in advance.

@chilijung
Copy link
Author

I'm using Xcode 5, is it the reason causing the error?

@holmesal
Copy link

holmesal commented Nov 4, 2013

Same issue, I'm guessing it's related to xcode 5 / mavericks

@ldandoy
Copy link

ldandoy commented Nov 5, 2013

I got the same error on ubuntu, don't think it's the xcode 5 :( do you find any solution ?

@holmesal
Copy link

holmesal commented Nov 5, 2013

Yep. Download and install the older version of the openni sdk (OpenNI SDK v1.5.7.8) from here.

From there, I had the issues detailed in #14, and was able to get past them with the fix detailed there.

@ldandoy
Copy link

ldandoy commented Nov 6, 2013

Yes, that's what i've done :) thx! now I got an segment fault, I think, it's came from the sensor... Which have you used ? from alvin2 ou form OpenNi web site ?

@d33z
Copy link

d33z commented Mar 5, 2015

I'm having this same issue on Yosemite at the moment. I've installed the simple-openni library via Processing and then went to build and hit this error. Anyone have any luck getting this all to work on Yosemite?

@mintyquinty
Copy link

I ran into this after manual installs of OpenNI on El Capitan. I had to modify the paths in the install.sh scripts for OpenNI and NITE to avoid the security restrictions now in place on /usr. I did the same for the Makefile for OSCeleton, changing "/usr/include/ni" to be "/usr/local/include/ni." Dunno if this is what's causing your issue, d33z, but for me it fixed it, and the install completed.

@lesbaa
Copy link

lesbaa commented Nov 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants