- Refer to NetLogo Wiki, install dependencies first. Also, pull
NetLogo
GitHub. - Locate
cgp/
folder under theNetLogo/extensions/
folder, which can be found fromNetLogo
which we just pulled from GitHub. - Cretae
*.jar
file in thecgp
directory:
~NetLogo/extensions/cgp$ sbt
sbt:cgp> compile
sbt:cgp> package
Note that warnings marked with [warn]
is acceptable while [errors]
are not. Resolving the error is the first step to do to generate *.jar
. After executing both compile
and package
command, you should be able to see [success]
.
- Launch NetLogo (separate terminal):
~NetLogo$ sbt
sbt:root> netlogo/run
and open cgp.nlogo
inside cgp/
folder.