Gotk3 and go1.11.4

(Sergii Kirichok) #1

I’m working on windows 7, x64. In one of my projects I need a GUI and I installed gotk3 (gtk3 for go).
Here step by step instruction
Everything works fine. My frien asked me to help install gotk3, as he got error after installation.
I woundered when we reinstall all (instaled latest go1.11.4 and msys64) and got same result.
As we didn’t have a solution, I decided to try reinstall all at home on my pc. step by step I found that it works with go1.11.2 but don’t with go1.11.4.

go get
C:\Users\Admin\AppData\Local\Temp\go-build381062570\b035\_x002.o: In function 
/tmp/go-build/cgo-gcc-prolog:56: undefined reference to `g_value_get_enum'
C:\Users\Admin\AppData\Local\Temp\go-build381062570\b035\_x004.o: In function 
/tmp/go-build/cgo-gcc-prolog:62: undefined reference to `g_value_get_boxed'
collect2.exe: error: ld retu> Blockquoterned 1 exit status

I can’t undestand it’s I do something wrong or this is a bug?

(Sergii Kirichok) #2


Helps replase #cgo pkg-config: pango to #cgo pkg-config: pango gobject-2.0 in pango-layout.go and pango-attributes.go.

(Eric Lindblad) #3

gotk3 #318 [Closed]