How to fix the Unbound module Graphics in an ocaml project

Image
From ~/pr/gitl/ocaml-gol In a constant effort to learn new programming languages, I'm currently trying to use ocaml , a free and open-source general-purpose, multi-paradigm programming language maintained at the Inria . It's basically an extension of Caml with object-oriented features. I'm mostly interested by its functionnal and pattern matching features but the module part of the language can be a bit difficult to understand for someone with little to none ML (Meta Language) background.   The error When trying to use the graphics module to create a graphical window and go just a little further than the simplest helloworld program, here is the result : If the project uses dune : (executable (name ocaml_project) (libraries lwt.unix graphics) ) with this code : let () = Printf.printf "Hello, world!\n";; Lwt_io.printf "Hello, world!\n";; Graphics.open_graph " 800x600";; The first times I built this project running the du...

RainbruRPG switched to revision 252

RainbruRPG officially switched to revision 252, closing and releasing the revision 251. This post follows the revision 251 announcement. RainbruRPG is a GPLv3-licensed free and open suruce 3D MMORPG project mainly written in C++.

Current state of the RainbruRPG client revision 251

The announcement

With this new revision, we added a (ugly) logo, a version overlay and started to implement a Not Yet Implemented dialog. This version also fixes several client segfaults.

The next revision will have to fully handle the NyiDialog (based on the brand new CeguiDialog class) and maybe start to implement local test, a way to test the game without an external server.

You can download this release here.

Dead links update

As of 2022, this project is no more hosted at github. Tags are lost and the development is not halted but very slow as I'm currently on another projects. The full repo is now hosted at bitbucket and can be found here.

RainbruRPG, as its sub-projects and reimplementation, is licensed under GPLv3 so you can contribute.

Comments

Popular posts from this blog

How to make a map of variant in C++