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.

** Attachment added: "Fixed Bug.ml"
   http://launchpadlibrarian.net/16142686/Bug.ml

-- 
ocamlsdl and lablgl conflict over Raw
https://bugs.launchpad.net/bugs/249355
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to