-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
58 lines (39 loc) · 1.57 KB
/
README
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
===============
== ==
== PSI-SWARM ==
== ==
===============
DATE: 5/05/2016
*** INSTALLING PSI-SWARM PLUGIN ***
To compile the examples, open up a
shell, go to the directory where you unpacked the file and
type:
$ mkdir build
$ cd build
To produce debuggable code (slow), type:
$ cmake -DCMAKE_BUILD_TYPE=Debug ../src
To produce fast but not debuggable code, type:
$ cmake -DCMAKE_BUILD_TYPE=Release ../src
Launch the compilation with the command:
$ make
Finally, install the package with the command:
$ sudo make install
Check that everything went fine by running the following command
(you should see psi-swarm among the available entities).
$ argos3 -q entities
*** TROUBLESHOOTING ***
When you launch one of the two 'cmake' commands, you might get an
error like 'package argos3_simulator' not found. This error has two
possible causes:
1. You haven't installed ARGoS3 system-wide. To fix this, install
ARGoS3 through the packages or with the command 'sudo make install'
in the ARGoS3 build directory.
2. pkg-config can't find the file argos3_simulator.pc. When you
install ARGoS3 from a package, this file is located in
/usr/lib/pkgconfig/. When you install ARGoS3 from the sources, this
file is located in $CMAKE_INSTALL_PREFIX/lib/pkgconfig/. If you
don't set $CMAKE_INSTALL_PREFIX explicitly before compiling, by
default it is set to /usr/local. If the file is present and
pkg-config can't find it, add the directory where it's located to
the environment variable PKG_CONFIG_PATH, e.g.
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/