Re: arsd.simpledisplay on macos

2021-11-16 Thread Adam D Ruppe via Digitalmars-d-learn
On Tuesday, 16 November 2021 at 17:39:19 UTC, Ben Jones wrote: Adding DISPLAY:0 fixed it, thanks. ah, good to know! I probably set that as an automatic script on my old test computer and forgot about it. (It beeps at me now when I turn it on... apparently failed memory. alas.) If I get

Re: arsd.simpledisplay on macos

2021-11-16 Thread Ben Jones via Digitalmars-d-learn
On Tuesday, 16 November 2021 at 14:38:47 UTC, Adam Ruppe wrote: 1) run xquartz separately to ensure it is up 2) set hte DISPLAY=:0 environment variable before starting the sdpy app Adding DISPLAY:0 fixed it, thanks. If I get time, I'll take a look at the objective C stuff, but that's a big

Re: arsd.simpledisplay on macos

2021-11-16 Thread Adam Ruppe via Digitalmars-d-learn
On Tuesday, 16 November 2021 at 03:41:31 UTC, Ben Jones wrote: I'm trying to use Adam's simpledisplay on a mac with XQuartz which is installed + running. When I try to create a window, it crashes when calling `XDisplayConnection.get()`. Hmm, I have never actually seen that fail since the mac

arsd.simpledisplay on macos

2021-11-15 Thread Ben Jones via Digitalmars-d-learn
I'm trying to use Adam's simpledisplay on a mac with XQuartz which is installed + running. When I try to create a window, it crashes when calling `XDisplayConnection.get()`. I'm just building dub and have added `"arsd-official:simpledisplay"` as a dependency. Before I installed XQuartz, it