Okay ... good news. So, now mac and windows are at parity wrt Docker. I had to run defaults write org.macosforge.xquartz.X11 enable_iglx -bool true to get the demos work in X.
I took the liberty to create a new docker image with a script that clones Alfonso's SDL and runs demo1.l. This should work out of the box as long as you have an X server running - since the docker image already sets the DISPLAY to host :) This is the source of the image if you are interested - https://github.com/ckkashyap/mydockerfiles/blob/master/ckkashyap/pil/PicoLisp All you have to do is - docker run ckkashyap/tools:picolisp This will drop you into a BASH shell inside the docker image. Then run /run-alfonso-sdl.sh - this should should open up the amazing demo!!! (only demos 1 2 and 3 run as of now - I am just happy that I can render a window using picolisp now :)) Regards, Kashyap On Sat, Mar 16, 2019 at 8:13 AM C K Kashyap <ckkash...@gmail.com> wrote: > Hi Alfonso, > Getting to work with SDL was on my TODO anyway - so it's my pleasure to > test it out :) and Thank you! > > I'll dig further - since it's docker, it's still Linux (ubuntu in my case) > ... I am optimistic since it worked on Docker on windows. > > Regards, > Kashyap > > > On Sat, Mar 16, 2019 at 4:26 AM Alfonso Villén <alfonso.villen@gmailcom> > wrote: > >> Hi Kashyap, >> >> it's also possible that the OpenGL drivers simply don't support OpenGL >> 3.3 core profile, or that there's no OpenGL support at all... >> >> 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 >>>>> >>>>