Hi Jon & Andras, > I have now changed lib/openGl.l as you described, and when I do
OK, so "Darwin" is generated in 'make', and not "Macos". I change it back. > $ ./pil misc/sphere.l + > then I get a nice sphere. Cool! > If I do > $ ./pil misc/cube.l + > then I get a window with a gray background, but no visible cube. So this might be what Andras wrote: It needs glutCheckLoop instead of glutMainLoopEvent? > If I do > $ ./pil misc/pyramids.l + > then I get no graphics, only this: > [misc/pyramids.l:182] !? (%@ "cos" 1000000 "Dbl1") > Bad ffi And this is the issue Mike talked about: Accessing code in the main binary with "@" does not work. Perhaps it is only '%@'? If : (%@ "cos" 1.0 (1.0 . 1.0)) -> 540302 does not work, how about this one? : (native "@" "cos" 1.0 (1.0 . 1.0)) -> 540302 ☺/ A!ex -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
