Skip to content

Instantly share code, notes, and snippets.

@whichlight
Created September 15, 2013 16:20
Show Gist options
  • Select an option

  • Save whichlight/6572148 to your computer and use it in GitHub Desktop.

Select an option

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 [email protected]
npm info using [email protected]
npm info pretest [email protected]
npm info test [email protected]
> [email protected] 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