forked from hubo/examples-hubo-motion-rt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
70 lines (44 loc) · 2.35 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
Installation Instructions
*************************
Pre-requisites: Hubo-Motion-RT (https://github.com/hubo/hubo-motion-rt) and hubo-ach (https://github.com/hubo/hubo-ach)
0. This package uses autotools. If you're not sure whether you have autotools, put the following
into the terminal:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install autoconf
____________________________________________________________
1. Now to use autotools:
In the directory which contains Makefile.am and configure.ac, run the following commands in
the terminal:
$ mkdir m4
(If it already exists, then don't worry about this step.)
$ autoreconf -i
(Give this some time. It can take a while.)
$ ./configure
This should generate a Makefile. You can use
$ ls
from the terminal to check that "Makefile" exists.
____________________________________________________________
2. Now you're ready to compile. Try the following:
$ make
(If an error occurs here, please contact [email protected])
Possible issues:
-- Cannot link to libhuboparams.so or error: hubo-jointparams.h: No such file or directory:
Make sure to install the latest version of hubo-ach (which means running "$ git pull",
"$ autoreconf -i", "$ ./configure", and "$ sudo make install" in your hubo-ach directory.
-- Cannot link to libhuboctrl.so or libdaemonizer.so OR cannot find Hubo_Control.h:
Make sure to install the latest version of Hubo-Motion-RT. This package depends on it.
If you want to install the executables system-wide (so you can call them from the terminal in any
directory) use the following command:
$ sudo make install
(This will make the package system-wide and install the libraries)
____________________________________________________________
3. Everything should be ready to go.
If you try running the software according to the instructions in USAGE and you get something like
the following error:
"libhuboparams.so.x.x.x cannot be found" or "libdaemonizer.so.x.x.x cannot be found"
then the libraries were installed to a directory which is not in your ldconfig path. Feel free to
contact [email protected] to figure out how to resolve the issue.
____________________________________________________________
4. If any problems not mentioned here occur or if you have any confusion or issues with installation
or compilation whatsoever, please do not hesitate to contact the author.