On 12/18/06, Damyan Pepper damyanp@gmail.com wrote:
Hi - thanks for this, it gets me a lot further. (I'm running SBCL 1.0 on Win32) Are there any plans to merge your patches into the main distribution?
Yeah, I'm hoping to get it added at some point, but have been distracted by other projects recently so haven't finished it up yet.
I had to #-win32 gluProject and gluUnProject - I think because of the (:pointer gl:double).
That sounds like you might be using old cffi, the (:pointer gl:double) bit requires cffi 0.9.2
rb-double: runs, but crashes when I click in the window (win32 exception of some kind) rb-movelight: runs, but crashes on clicks (as for rb-double) gears: displays, but immediately crashes
You might try building SBCL from CVS, there were some bugs with callbacks on win32 fixed since 1.0 that sounded like they might be hit by the glut code.
For all the ones that are ok, the keyboard input doesn't seem to work. I guess that this is because glut:keyboard is getting called with the key codes as integers rather than as characters - so it gets 27 rather than #\Esc for example. I'll look into this - I want to make sure I'm running the latest CFFI and see if ascii-to-char works in other circumstances.
I've seen that also (with Linux SBCL), I assume they worked for whoever wrote them, so not sure if something has changed since then, or if it is due to different versions of glut, or lisp implementation or what...
-- Bart