Re: Member requesting to join GoKi-Gi

6 views
Skip to first unread message

Randall O'Reilly

unread,
Dec 9, 2019, 3:39:47 PM12/9/19
to GoKi-Gi
btw this error is due to an update in chroma — just need to update using go get -u ./…

- Randy

> On Dec 9, 2019, at 12:27 AM, GoKi-Gi <goki-gi...@googlegroups.com> wrote:
>
> GoKi-Gi Google Groups
> execute...@gmail.com has asked to join the GoKi-Gi group.
> Message from
> Need help.. # github.com/goki/gi/oswin/driver/glos ..\..\oswin\driver\glos\glos_windows.go:58:16: cannot convert w.glw.GetWin32Window() (type glfw._Ctype_HWND) to type uintptr # github.com/goki/gi/giv ..\..\giv\himarkup.go:103:43: too many arguments in call to "github.com/alecthomas/chroma/formatters/html".WithClasses have (bool) want () C:\Go\gopath\src\github.com\goki\gi\examples\widgets>go build # github.com/goki/gi/oswin/driver/glos ..\..\oswin\driver\glos\glos_windows.go:58:16: cannot convert w.glw.GetWin32Window() (type glfw._Ctype_HWND) to type uintptr # github.com/goki/gi/giv ..\..\giv\himarkup.go:103:43: too many arguments in call to "github.com/alecthomas/chroma/formatters/html".WithClasses have (bool) want ()
>
> Manage members
> Start a new group. Visit the help center.

Ex Ow

unread,
Dec 10, 2019, 6:43:10 AM12/10/19
to GoKi-Gi
Oh, I'm quite new with go and windows.
Newby struggles..

Install instructions suggested " go get [-u] ./... " and i got error about "[" so i thought it's windows specific, but it was option syntax markup :D hah.
I think I tried -u and /u also but already had tried to "fix" some files and from examples path and still got error.

I started from scratch again..
And I did "go get -u ./..."
From gopath\src\github.com\goki and it downloaded a lot of other go projects/dependency.
I guess its wrong to do it from ..examples\widgets paths.

Then I went to examples\widgets and again "go get -u ./..." resulted in "latest" statements.
Finally "go build" worked from examples\widgets" :D

So I sent the widgets.exe to some RDP Windows servers 2008R2 and 2016.. and I get this error:
2019/12/10 13:40:46 oswin.glos failed to create hidden share window -- this usually means that the OpenGL version is not sufficient (should be at least: 3.3): APIUnavailable: WGL: The driver does not appear to support OpenGL

Does this mean I must have some certain AMD/Nvidia? Then I can't consider this UI for my tiny project.


Randall O'Reilly

unread,
Dec 11, 2019, 10:43:40 AM12/11/19
to Ex Ow, GoKi-Gi
It just needs any kind of opengl drivers — software mesa ones will work but are slow. Sometimes you need to see what your hardware is and download appropriate opengl drivers for it, as they are not installed by default.

- Randy
> --
> You received this message because you are subscribed to the Google Groups "GoKi-Gi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to goki-gi+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/goki-gi/4c790a61-a965-44c0-a774-367b5c8e2190%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages