Modify “config” file according to your system
SPOC requires
ocaml >= 3.12 ocamlopt >= 3.12 camlp4 >= 3.12 gcc >= 4.4 opengl (gl, glu, glut)
For example, with ubuntu :
$sudo aptitude install ocaml camlp4-extra ocaml-native-compilers \ mesa-common-dev libglu1-mesa-dev freeglut3-dev
should install everything needed to compile SPOC correctly
To compile SPOC: cd Spoc make make install
SPOC requires
ocaml >= 3.12 ocamlopt >= 3.12 camlp4 >= 3.12 clang
To compile SPOC:
cd Spoc make make install
make htdoc
Will build the ocamldoc html pages in the Spoc/doc directory
SPOC is not currently supported for windows. Requires, OCaml (MSVC), cygwin (or equivalent) to use Makefile and basic Unix commands.
The “Samples” directory contains few programs using SPOC.
To compile those programs:
cd Samples make
Binaries will be located in the Samples/bin folder