Gotk3: GTK3 the Go way
blog.conformal.com
Gotk3: GTK3 the Go way
1–10 of 58 posts
Re: Gotk3: GTK3 the Go way
#2 kbarrett@vernon-linux:~/go-work/gotk$ go version
go version go1.0.2
kbarrett@vernon-linux:~/go-work/gotk$ go build
# github.com/conformal/gotk3/glib
glib.go:380[/tmp/go-build210667265/github.com/conformal/gotk3/glib/_obj/glib.cgo1.go:370]: function ends without a return statement
glib.go:743[/tmp/go-build210667265/github.com/conformal/gotk3/glib/_obj/glib.cgo1.go:741]: function ends without a return statement
function ends without a return statement. If this is a problem with my version of go, I will try and fetch the latest head from git. I am interested!sudo go get github.com/conformal/gotk3/gtk -- gives the same error.
Re: Gotk3: GTK3 the Go way
#3I am on ubuntu raring with the packaged golang and I can't compile your example code, copied directly out of Sample Use . kbarrett@vernon-linux:~/go-work/gotk$ go version go version go1.0.2 kbarrett@vernon-linux:~/go-work/gotk$ go build # github.com/conformal/gotk3/glib glib.go:380[/tmp/go-build210667265/github.com/conformal/gotk3/glib/_obj/glib.cgo1.go:370]: function ends without a return statement glib.go:743[/tmp/…
Re: Gotk3: GTK3 the Go way
#4Re: Gotk3: GTK3 the Go way
#5I am on ubuntu raring with the packaged golang and I can't compile your example code, copied directly out of Sample Use . kbarrett@vernon-linux:~/go-work/gotk$ go version go version go1.0.2 kbarrett@vernon-linux:~/go-work/gotk$ go build # github.com/conformal/gotk3/glib glib.go:380[/tmp/go-build210667265/github.com/conformal/gotk3/glib/_obj/glib.cgo1.go:370]: function ends without a return statement glib.go:743[/tmp/…
Yes. I think that syntax became legal in 1.1.
I'm going to try it on FreeBSD.
Re: Gotk3: GTK3 the Go way
#6Re: Gotk3: GTK3 the Go way
#7I am on ubuntu raring with the packaged golang and I can't compile your example code, copied directly out of Sample Use . kbarrett@vernon-linux:~/go-work/gotk$ go version go version go1.0.2 kbarrett@vernon-linux:~/go-work/gotk$ go build # github.com/conformal/gotk3/glib glib.go:380[/tmp/go-build210667265/github.com/conformal/gotk3/glib/_obj/glib.cgo1.go:370]: function ends without a return statement glib.go:743[/tmp/…
Re: Gotk3: GTK3 the Go way
#8Re: Gotk3: GTK3 the Go way
#9Earlier quoted context omitted.
I see, ubuntu's go is very old. You can tell I'm not doing this stuff every day. (It's obviously because I'm on a release from April...) I'm going to try it on FreeBSD.
(That worked.)