NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GUI with Go



Thanks Staffan.
I have had some luck displaying widgets with github.com/rivo/tview. This, however, is terminal style "semi graphic" and I was hoping for more ;).

I'll keep digging

/Niels



Sent with Proton Mail secure email.

On Sunday, September 6th, 2026 at 11:50 AM, Staffan Thomén <duck%shangtai.net@localhost> wrote:

> On 05.09 12:42, Niels Müller Larsen wrote:
> > Has anyone here played with GUI programming in ⁨#go⁩ on ⁨#netbsd⁩? I
> > have tried ⁨#tk⁩ and ⁨#fyne⁩. They both fail the hello world test, I
> > tried on my newly installed ⁨#netbsd11⁩, and with the same negative
> > result on the other laptop's ⁨#netbsd10⁩.
> >
> > ⁨#tk⁩ lacks some eval functions. if I use the same code on openbsd,
> > there are error msg about a systemcall.
> >
> > ⁨#fyne⁩ lacks some ⁨#wayland⁩ related header files. (I don't do
> > wayland :) I have installed the required prereqs as written on the
> > fyne. Theheader files are present on the system, but elsewhere. If I
> > ln them where the error msg says they are needed, I get other errors
> > also related to wayland.
> >
> > If anyone has experience with either, I would very much appreciate a
> > hint.
> 
> Hi, I have tried; fyne was the framework I stuck with on other platforms
> since it seemed the least bad but on NetBSD the build broke way deep
> in the depends, apparently because skia isn't available as a binary
> package(?). At that point I was so out of my depth that I just gave up.
> 
> The other one I remember having some success with was libui-ng
> (github.com/libui-ng/golang-ui) which should display widgets using gtk+,
> but it wasn't as nice to use. I haven't tried if it still works, and
> libui-ng (the C library) might be dead.
> 
> I guess we have the compounding problems of go being typecast for
> webservices and netbsd being somewhat overshadowed by the penguin hordes.
> 
> Staffan
> 
>


Home | Main Index | Thread Index | Old Index