Skip to content

Instantly share code, notes, and snippets.

@whichlight
Created September 15, 2013 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whichlight/6572148 to your computer and use it in GitHub Desktop.
Save whichlight/6572148 to your computer and use it in GitHub Desktop.
having some weird issues installing node-kinect on my old laptop. might be some c issue
Installing the module, this comes up, but it still installs fine
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/kinect/src/kinect.o
../src/kinect.cc:1:1: warning: "BUILDING_NODE_EXTENSION" redefined
<command-line>: warning: this is the location of the previous definition
SOLINK_MODULE(target) Release/kinect.node
ld: warning: in /usr/local/lib/libfreenect.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
SOLINK_MODULE(target) Release/kinect.node: Finished
--
Then i get this when running a test
node-kinect -> npm test
npm info it worked if it ends with ok
npm info using npm@1.3.8
npm info using node@v0.10.18
npm info pretest kinect@0.1.7
npm info test kinect@0.1.7
> kinect@0.1.7 test /Users/kawandeepvirdee/Documents/node-kinect
> node_modules/.bin/mocha test/*.js
dyld: lazy symbol binding failed: Symbol not found: _freenect_init
Referenced from: /Users/kawandeepvirdee/Documents/node-kinect/build/Release/kinect.node
Expected in: flat namespace
dyld: Symbol not found: _freenect_init
Referenced from: /Users/kawandeepvirdee/Documents/node-kinect/build/Release/kinect.node
Expected in: flat namespace
------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment