Comment 6 for bug 249355

Revision history for this message
Cody A.W. Somerville (cody-somerville) wrote :

There appears to be a few typos in your sample (along with some typos in your instructions). I've never programmed in caml before but I think I've been able to fix them.

TEST CASE:
1. Install ocaml-nox libsdl-ocaml-dev liblablgl-ocaml-dev
2. Download my Bug.ml
2. Run ocamlc -c -g -I /usr/lib/ocaml/3.10.0/sdl -I +lablGL Bug.ml
3. The following error should be produced:

"The files /usr/lib/ocaml/3.10.0/lablGL/glDraw.cmi
and /usr/lib/ocaml/3.10.0/sdl/sdlgl.cmi make inconsistent assumptions
over interface Raw"

4. Install rebuilt package from -proposed.
5. Run ocamlc -c -g -I /usr/lib/ocaml/3.10.0/sdl -I +lablGL Bug.ml
6. The command should return silently.
7. Run ocamlc -I /usr/lib/ocaml/3.10.0/sdl -I +lablGL -g bigarray.cma sdl.cma lablgl.cma sdlloader.cma -o bug Bug.cmo
8. The command should return silently.
9. Run ./bug and a window should be appear with a multicoloured/rainbow triangle.
10. With the window focused, press q to exit/quit.