Hello Kashyap! First of all, thanks for testing.
The first demo doesn't use SDL2_image, but the others do (to load images and make textures from them). The line "!? (native NIL "IMG_Init" 'I IFlag)" shows that SDL2_image either isn't installed or the shared library couldn't be found by the "findlib" function in the "findlib.l" file. I don't know exactly why SDL2 fails to get a valid OpenGL context under WSL and Mac. It might be related to the requests when the windows are created (8 bits for red, green and blue channels, no alpha, double buffer and 24 bit depth buffer). Neither the demos nor the bindings make any check to see if the requested framebuffer formats are supported by the hardware or the libraries. XQuartz seems to try to fall back to a software rasterizer, without success. I'd be satisfied enough if the examples ran well on machines with different Linux distros and I think it's too early to try to fix anything not working outside of Linux. Am Sa., 16. März 2019 um 05:25 Uhr schrieb C K Kashyap <ckkash...@gmail.com >: > Quick report - > 1. WSL + XMing - demo1.l worked just fine! I get a mix of * !? (native > NIL "IMG_Init" 'I IFlag) *and *"Could not create GL context" -- Error > creating OpenGL context:* for the other demos. > 2. Docker on windows + XMing - same as WSL > 3. Docker + XQuartz on Mac - none of the demos run - libGL error: No > matching fbConfigs or visuals found and libGL error: failed to load > driver: swrast > > Since it runs on Docker + XMing on windows, I am guessing it must be the > XQuartz that has some quirks that it causes not to work. > > Regards, > Kashyap > > > > > On Fri, Mar 15, 2019 at 7:49 PM C K Kashyap <ckkash...@gmail.com> wrote: > >> Great news ... cant wait to try it out on docker + xserver!!!! >> >> On Fri, Mar 15, 2019 at 7:41 PM <r...@tamos.net> wrote: >> >>> Works on FreeBSD too, if I make this change: >>> >>> $ git diff | cat >>> diff --git a/sdl/findlib.l b/sdl/findlib.l >>> index 20371af..f532cb8 100644 >>> --- a/sdl/findlib.l >>> +++ b/sdl/findlib.l >>> @@ -5,7 +5,7 @@ >>> >>> (de findlib (Lib) >>> (let Matches >>> - (in '(ldconfig "-p") >>> + (in '(ldconfig "-r") >>> (filter >>> '((F) (sub? Lib F)) >>> (make (while (line T) (link @))) ) ) >>> >>> Thanks! (I just found out that I'm terrible at pong :) >>> >>> Best, Rick >>> >>> On Fri, 15 Mar 2019 18:58 -04:00, alfonso.vil...@gmail.com wrote: >>> > Hello, >>> > >>> > I want to share with you my progresses on the following Bitbucket >>> > repository: >>> > >>> > https://bitbucket.org/alfonsovillen/picolispffi/src/master/ >>> > >>> > I would be thankful if someone could take some time to try the demos >>> > and tell me whether they run well. >>> > >>> > Best regards, >>> > Alfonso Villén >>> >>> -- >>> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subjectUnsubscribe >>> >>