Skip to content
dsheets edited this page Mar 13, 2012 · 6 revisions

Installation

gloc developers or shader programmers who value native tools will need OCaml 3.12+, menhir, and ulex. Check your operating system's free software repository for distributions of these packages. You will also need some libraries distributed via git. For each library, in your source code directory do:

  1. git clone https://github.com/mjambon/easy-format.git ; cd easy-format ; make ; make install (no dependencies)
  2. git clone https://github.com/mjambon/cppo.git ; cd cppo ; make ; make install (no dependencies)
  3. git clone https://github.com/mjambon/biniou.git ; cd biniou ; make ; make install (depends on easy-format)
  4. git clone https://github.com/mjambon/yojson.git ; cd yojson ; make ; make install (depends on biniou, cppo)
  5. git clone https://github.com/MyLifeLabs/atd.git ; cd atd ; make ; make install (depends on easy-format, menhir)
  6. git clone https://github.com/MyLifeLabs/atdgen.git ; cd atdgen ; make ; make install (depends on atd, yojson, biniou, cppo, easy-format, menhir)
  7. git clone https://github.com/avsm/ocaml-re.git ; cd ocaml-re ; make ; make install (no dependencies)

If you run into trouble, have questions, or would like to fix something about the build/install process, please don't hesitate to contact David Sheets, the author of gloc.

Clone this wiki locally