Browse thread
Floating exception
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] Floating exception |
On Wednesday 28 November 2007 10:47, Vu Ngoc San wrote: > > My guess is that the glut libraries installed on these computers are > > causing the problems. Perhaps we should write bindings to GLX or use > > LablGTK2 to evade glut and see what happens but, of course, we cannot > > reproduce the problem here and there are a huge number of variations we > > could try without having any real idea of what is going wrong. > > I wouldn't bet on this. I can reproduce the same bug with both the sdl-gl > (ocamlsdl) interface, and the gtk-gl (liblablgtk2-gl-ocaml) interface. > > However, as I said, I couldn't with glxgears, and more interestingly I > couldn't either with the demos shipped with glcaml. They use SDL. I just > modified the source code in order to allow resizing windows. Oh, this is very interesting. Let's try to narrow down the problem. The following don't work reliably for you: OCaml -> LablGL -> Lablglut -> OpenGL OCaml -> LablGL -> LablGTKGL -> OpenGL OCaml -> LablGL -> OCamlSDL -> OpenGL but the following do work: OCaml -> GLCaml -> SDL + OpenGL C -> GLX + OpenGL Looks like the problem is with LablGL then? Smoke actually makes relatively few OpenGL calls (most are done by GLU) so I can easily port it to GLCaml. Maybe I should try that next... -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/products/?e