forked from aseba-community/aseba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
62 lines (48 loc) · 2.42 KB
/
readme.txt
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
Aseba - an event-based framework for distributed robot control
http://aseba.wikidot.com
Copyright (C) 2007--2011:
Stephane Magnenat <stephane at magnenat dot net>
(http://stephane.magnenat.net)
and other contributors, see authors.txt for details
To compile Aseba, you need CMake 2.6 or later (http://www.cmake.org/).
The CMake website provides documentation on how to use CMake on the different
platforms:
http://www.cmake.org/cmake/help/runningcmake.html
Aseba depends on the following libraries:
- Dashel (http://home.gna.org/dashel/)
- Boost (http://www.boost.org/)
- Qt4 (http://www.qtsoftware.com/products/, for IDE)
- Qwt (http://qwt.sourceforge.net/, optional, for graphs)
- Enki (http://home.gna.org/enki/, optional, for simulators)
And optionally, to enumerate serial ports properly on linux:
- libudev (http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/)
On Linux, the first four libraries are packages available in your distribution. For instance, on Ubuntu, you can install them, along cmake and the compiler, with:
sudo apt-get install libboost-dev libqt4-dev libqwt5-qt4-dev libudev-dev cmake g++
Then you have to fetch Dashel, Enki, compile them, and then you can fetch Aseba and tell it where it can find Dashel and Enki. Then you can compile Aseba. The following script does this for you:
# create build tree
mkdir -p aseba/build-dashel aseba/build-enki aseba/build-aseba
cd aseba
# fetch and compile dashel
svn co svn://svn.gna.org/svn/dashel/trunk dashel
cd build-dashel
cmake ../dashel -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
cd ..
# fetch and compile enki
svn co svn://svn.gna.org/svn/enki/trunk enki
cd build-enki
cmake ../enki -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
cd ..
# fetch and compile aseba, telling it where to find dashel and enki
svn co svn://svn.gna.org/svn/aseba/trunk aseba
cd build-aseba
cmake ../aseba -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDASHEL_INCLUDE_DIR=../dashel -DDASHEL_LIBRARY=../build-dashel/libdashel.a -DENKI_INCLUDE_DIR=../enki -DENKI_LIBRARY=../build-enki/enki/libenki.a -DENKI_VIEWER_LIBRARY=../build-enki/viewer/libenkiviewer.a
make
Once this script has run, you can find the executables in build-aseba/, in their respective sub-directories.
If you have some problem to compile Aseba after reading the relevant
documentation, feel free to post your question on our development mailing
list. You can subscribe to the latter at:
http://gna.org/mail/?group=aseba
Enjoy Aseba!
The developers