This repository has been archived by the owner on Apr 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
INSTALL
84 lines (63 loc) · 2.09 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Installation instructions for Linux (assuming ubuntu/debian packages)
CMAKE
Download : http://www.cmake.org/cmake/resources/software.html
Go in the download folder and execute :
To install cmake you need a working C++ compiler
sudo apt-get install g++
tar xzvf cmake-2.8.10.2.tar.gz
cd cmake-2.8.10.2.tar.gz
./bootstrap
make
sudo make install
MCRYPT
First install the dependencies :
sudo apt-get install libmcrypt-dev libmhash-dev git
Download : http://sourceforge.net/projects/mcrypt/files/latest/download
Go in the download folder and execute :
tar xzvf mcrypt-2.6.8.tar.gz
cd mcrypt-2.6.8/
./configure
make
make install
HIPAPI
First install the dependencies :
sudo apt-get install libudev-dev libusb-1.0-0-dev libtool dh-autoreconf
Download : https://github.com/signal11/hidapi/archive/master.zip
IT WILL NOT WORK if you downloaded from: hidapi-0.7.0.zip from https://github.com/signal11/hidapi/downloads or the command git clone git://github.com/signal11/hidapi.git
Extract the zip file and use the following commands :
unzip hidapid-master.zip
cd hidapid-master
./bootstrap
./configure
make
sudo make install
EMOKIT
Download https://github.com/openyou/emokit/archive/master.zip
unzip emokit-master.zip
cd emokit-master
cmake .
make
This will build a static library. If you want to build a shared library
instead, set the environment variable EMOKIT_BUILD_SHARED_LIBS.
If you get:
$ cmake .
-- Found mcrypt: /usr/lib/libmcrypt.so
-- Found HIDAPI: /usr/local/lib/libhidapi-hidraw.so
-- /usr/lib/libmcrypt.so/usr/local/lib/libhidapi-hidraw.so
-- oscpack NOT found.
-- oscpack not found, not building emokit osc server
-- Configuring done
-- Generating done
-- Build files have been written to: /emokit-master
sudo apt-get install liboscpack*
$ cmake .
-- Found mcrypt: /usr/lib/libmcrypt.so
-- /usr/lib/libmcrypt.so/usr/local/lib/libhidapi-hidraw.so
-- Found oscpack: /usr/lib/liboscpack.so
-- Configuring done
-- Generating done
-- Build files have been written to: /emokit-master
If you try to run a python example and get
ImportError: No module named gevent
sudo pip install gevent
sudo pip install greenlet