Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 922 Bytes

README.md

File metadata and controls

18 lines (17 loc) · 922 Bytes

cgp

Environment Setup

  1. Refer to NetLogo Wiki, install dependencies first. Also, pull NetLogo GitHub.
  2. Locate cgp/ folder under the NetLogo/extensions/ folder, which can be found from NetLogo which we just pulled from GitHub.
  3. Cretae *.jar file in the cgp 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].

  1. Launch NetLogo (separate terminal):
~NetLogo$ sbt
sbt:root> netlogo/run

and open cgp.nlogo inside cgp/ folder.