Hi Alex & Jon, I’ve grabbed the latest pil21 sources (6nov2020), and compiled on macOS Mojave. *OS gives back:
===> ./pil + : *OS -> "Darwin" : Running @lib/test.l produces: ===> ./pil @lib/test.l + [test/src/main.l:19] !? (%@ "socket" 'I AF_INET6 "Type" 0) Bad ffi ? The openGl examples cube.l and sphere.l works as expected. Running misc/pyramids.l produces: ===> ./pil @misc/pyramids.l + [misc/pyramids.l:182] !? (%@ "cos" 1000000 "Dbl1") Bad ffi openGl? Regards, Andras > On 2020. Nov 7., 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