Hi Alex, I have now changed lib/openGl.l as you described, and when I do $ ./pil misc/sphere.l + then I get a nice sphere.
If I do $ ./pil misc/cube.l + then I get a window with a gray background, but no visible cube. If I do $ ./pil misc/pyramids.l + then I get no graphics, only this: [misc/pyramids.l:182] !? (%@ "cos" 1000000 "Dbl1") Bad ffi openGl? In my opinion, the *OS value on macOS should be "macOS", as that’s the correct spelling according to Apple. /Jon > On 7 Nov 2020, at 11:31, Alexander Burger <a...@software-lab.de> wrote: > > On Sat, Nov 07, 2020 at 11:14:13AM +0100, Andras Pahi wrote: >> I’ve checked Alex’s code on my picoLisp fork only. >> What is the value of *OS on pil21 ? >> It seems, that it is NOT “Darwin”, because *GlutLib is “libglut.so.3” >> instead of “GLUT.framework/GLUT" > > Yes, I have already changed > > < (if (= *OS "Darwin") > --- >> (if (= *OS "Macos") > 17,18c17,18 > < *GluLib "libGLU.so.1" > < *GlutLib "libglut.so.3" ) ) > --- >> *GluLib "libGLU.so" >> *GlutLib "libglut.so" ) ) > > in lib/openGl.l > > Not sure what the right lib names are, depending > on the system. > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe > -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe