Skip to content

Instantly share code, notes, and snippets.

@gongo gongo/gist:3675309
Created Sep 8, 2012

Embed
What would you like to do?
$ export HOMEBREW_LIB="$HOME/.homebrew/lib"
$ export HOMEBREW_ETC="$HOME/.homebrew/etc"
$ brew install libusb --universal
$ brew install https://raw.github.com/totakke/openni-formula/master/openni.rb --devel
$ sudo mkdir -p /var/lib/ni
$ sudo niReg $HOMEBREW_LIB/libnimMockNodes.dylib
$ sudo niReg $HOMEBREW_LIB/libnimCodecs.dylib
$ sudo niReg $HOMEBREW_LIB/libnimRecorder.dylib
$ brew install https://raw.github.com/totakke/openni-formula/master/sensor-kinect.rb --devel
$ sudo niReg $HOMEBREW_LIB/libXnDeviceSensorV2KM.dylib $HOMEBREW_ETC/primesense
$ sudo niReg $HOMEBREW_LIB/libXnDeviceFile.dylib $HOMEBREW_ETC/primesense$
$ sudo mkdir -m 777 -p /var/log/primesense/XnSensorServer
$ brew install https://raw.github.com/totakke/openni-formula/master/nite.rb --devel
$ sudo niReg $HOMEBREW_LIB/libXnVFeatures_1_5_2.dylib $HOMEBREW_ETC/primesense/Features_1_5_2
$ sudo niReg $HOMEBREW_LIB/libXnVHandGenerator_1_5_2.dylib $HOMEBREW_ETC/primesense/Hands_1_5_2
$ sudo niLicense PrimeSense 0KOIk2JeIBYClPWVnMoRKn5cdY4=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.