Attached is a simple OCamlSDL program that causes the problem; it can be compiled with
ocamlc -c -g -I /usr/lib/ocaml/3.10.0/sdl -I +lablGL Bug.ml and that command should error out with 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 When this error is fixed, you can link it using ocaml -I /usr/lib/ocaml/3.10.0/sdl -I +lablGL -g bigarray.cma sdl.cma lablgl.cma sdlloader.cma -o bug Bug.cmo and run it using ./bug Upon successfully compiling, linking, and executing, it should draw a colorful triangle in a fresh OpenGL window and quit when the user presses 'q'. ** Attachment added: "Bug.ml" http://launchpadlibrarian.net/16141755/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
