- Refer to NetLogo Wiki, install dependencies first. Also, pull
NetLogoGitHub. - Locate
cgp/folder under theNetLogo/extensions/folder, which can be found fromNetLogowhich we just pulled from GitHub. - Cretae
*.jarfile in thecgpdirectory:
~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.