Created
August 12, 2015 02:56
-
-
Save gdunstone/b3e6f0dad179fd183363 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Initialisation | |
sudo rsync -avhP ./etc/init/leapd.conf /etc/ | |
# Device rules | |
sudo rsync -avhP ./lib/udev/rules.d/25-com-leapmotion-leap.rules /lib/udev/rules.d/ | |
# Daemon | |
sudo rsync -ahvP ./usr/sbin/leapd /usr/sbin | |
# Executables | |
cd ./usr/bin/ | |
L=Leap | |
sudo mv Visualizer $L"Visualizer" | |
sudo mv Recalibrate $L"Recalibrate" | |
sudo mv Playground $L"Playground" | |
sudo mv Playground_Data $L"Playground_Data" | |
sudo rsync -ahvP * /usr/bin/ | |
cd ../.. | |
# libs folder | |
sudo rsync -avhP ./usr/lib/Leap /usr/lib/ | |
# shared folder | |
sudo rsync -avhP ./usr/share/Leap /usr/share/ | |
# fix ofxLeapMotion | |
OFX_LEAPMOTION_LIBS=$HOME/openFrameworks/addons/ofxLeapMotion/libs | |
mkdir -p $OFX_LEAPMOTION_LIBS/lib/include | |
mkdir -p $OFX_LEAPMOTION_LIBS/lib/linux64 | |
mkdir -p $OFX_LEAPMOTION_LIBS/lib/linux | |
cd LeapSDK/include | |
rsync -hP * $OFX_LEAPMOTION_LIBS/include | |
cd ../lib/x64 | |
rsync -hP libLeap.so $OFX_LEAPMOTION_LIBS/lib/linux64/libLeap.so | |
cd ../x86 | |
rsync -hP libLeap.so $OFX_LEAPMOTION_LIBS/lib/linux/libLeap.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LeapMotion archlinux install for ofxLeapMotion
v1