~eliasnaur/gio#102: 
gio bug: can't run example on desktop ubuntu 18.04 LTS

Hi Elias,

watched your youtube community update video last night. Thanks for that, it's a good way to keep up to date with what's going on in gio world. The Roadmap would be the main thing I'd be interested in (and for me, full Android support is critical). (FYI: the web-example has very bad layout in my firefox browser when run (the third button is off to the right and hardly visible).

FYI, I'm interested in using gio for an app on android using sensors, file-access and video which I believe is all not very easy at the moment! Also, fyi, I'm comparing fyne to gio for my use-cases. Maybe it would be useful when you have time to write up a comparison between the 2 to help folks compare sensibly (to me, Fyne is more for UI-heavy apps, gio is more for game-engine style apps, and Flutter is to do the same with dart instead of go!) Also, FYI: I've had good success in the past with python using Kivy, the only downside was the build system which is why I' d like to use go instead.

Anyway, just re-tried the example and it fails immediately (using X11) with the following on Ubuntu 18.04 LTS, any idea why (I presume it's expecting an older/newer opengl library?):

$ go run gioui.org/example/hello

gioui.org/app/internal/gl

../../../../go/pkg/mod/gioui.org@v0.0.0-20191211234536-7814da47a0ff/app/internal/gl/gl.go:157:7: undefined: Functions ../../../../go/pkg/mod/gioui.org@v0.0.0-20191211234536-7814da47a0ff/app/internal/gl/srgb.go:15:17: undefined: Functions ../../../../go/pkg/mod/gioui.org@v0.0.0-20191211234536-7814da47a0ff/app/internal/gl/srgb.go:26:20: undefined: Functions ../../../../go/pkg/mod/gioui.org@v0.0.0-20191211234536-7814da47a0ff/app/internal/gl/util.go:13:25: undefined: Functions ../../../../go/pkg/mod/gioui.org@v0.0.0-20191211234536-7814da47a0ff/app/internal/gl/util.go:42:30: undefined: Functions ../../../../go/pkg/mod/gioui.org@v0.0.0-20191211234536-7814da47a0ff/app/internal/gl/util.go:50:24: undefined: Functions

$ go version go version go1.14 linux/amd64

$ cat /etc/lsb-release DISTRIBID=Ubuntu DISTRIBRELEASE=18.04 DISTRIBCODENAME=bionic DISTRIBDESCRIPTION=Ubuntu 18.04.4 LTS

As a side note, maybe you can think about module-versioning the API as it seems to be changing quite a lot?

Anyway, thanks for the interesting work you're doing (one day I'll look into the uni kernel thing you've done as that's a very interesting area for me also),

Best Regards, Mary.

Status
REPORTED
Submitter
Mary Stern
Assigned to
No-one
Submitted
2 months ago
Updated
2 months ago
Labels
No labels applied.

~eliasnaur 2 months ago

I just saw your other report (#103) before this one, sorry. Please direct support questions to the mailing list: https://lists.sr.ht/~eliasnaur/gio or the #gioui Slack channel on gophers.slack.com.

Register here or Log in to comment, or comment via email.