Difference between revisions of "Compiling ODE, KODEX, and MISS"
Line 23: | Line 23: | ||
== MISS == |
== MISS == |
||
+ | The simulator proves a bit more challenging to compile. First of all the MISS directory has to be a subdirectory of KODEX like ODE. If you try to compile it as it is PES has to be installed. PES is apparently a library for genetic algorithms used by the researchers who did the KODEX wrapper. I do not have it installed and commenting out the three references to PES in the MISS source code works: |
||
− | The simulator proves a bit more challenging to compile. |
||
+ | |||
+ | # miss-2.1.4/src/Environment.h:39 comment out include "pes/pesnet.h" |
||
+ | # miss-2.1.4/src/Environment.h:150 comment out the declaration of PESNetworkAdapter NetAdapter |
||
+ | # miss-2.1.4/src/Environment.cpp:4 comment out the line PESNetworkAdapter* Environment::NetAdapter = NULL |
Revision as of 12:21, 10 January 2005
This how-to is on compiling ODE, KODEX and MISS for those who want to move to ODE instead of VORTEX.
Obtaining ODE, KODEX and MISS
You can either download ODE, KODEX and MISS from the (semi)official or you can download a local version of the sources used for this how-to.
First compile ODE, then move it so that it becomes a subdirectory of KODEX, and compile KODEX. Both projects should compile in the usual way, e.g.
~/sbot/ode/kodex-0.5.3/ode$ ./configure .. ~/sbot/ode/kodex-0.5.3/ode$ make .. ~/sbot/ode/kodex-0.5.3/ode$ cd .. ~/sbot/ode/kodex-0.5.3$ ./configure .. ~/sbot/ode/kodex-0.5.3/ode$ make ..
MISS
The simulator proves a bit more challenging to compile. First of all the MISS directory has to be a subdirectory of KODEX like ODE. If you try to compile it as it is PES has to be installed. PES is apparently a library for genetic algorithms used by the researchers who did the KODEX wrapper. I do not have it installed and commenting out the three references to PES in the MISS source code works:
- miss-2.1.4/src/Environment.h:39 comment out include "pes/pesnet.h"
- miss-2.1.4/src/Environment.h:150 comment out the declaration of PESNetworkAdapter NetAdapter
- miss-2.1.4/src/Environment.cpp:4 comment out the line PESNetworkAdapter* Environment::NetAdapter = NULL