Skip to content
dsheets edited this page Jun 12, 2012 · 6 revisions

Installation

gloc developers or shader programmers who value native tools will need:

  1. OCaml 3.12+ (should include ocaml-findlib, ocaml-camlp4)
  2. menhir
  3. 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 maintainer of gloc.

Clone this wiki locally