General Example for using C++ and OCaml in the same project, with the main() in C++. build ./configure.sh && ./build.sh run ./run.sh requirements CMake v3.1+ C++14-capable compiler (LLVM Clang or GCC preferably) ocamlopt SDL2, SDL2-image etc. GLEW astyle