#fyne build app

15 messages · Page 1 of 1 (latest)

heady mango
soft orchid
#

😂

#

😢 i dont understand

wispy mortar
#

you need to use cgo on windows

#

there are no pure go windows backends afaik

soft orchid
wispy mortar
#

you don't but fyne do

#

different oses have different apis to handle drawing graphics and rendering windows

#

what's the issue with:

CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -o gml-windows.exe

?

soft orchid
#
package example/test
        imports fyne.io/fyne/v2/app
        imports fyne.io/fyne/v2/internal/driver/glfw
        imports fyne.io/fyne/v2/internal/driver/common
        imports fyne.io/fyne/v2/internal/painter/gl
        imports github.com/go-gl/gl/v2.1/gl: build constraints exclude all Go files in /home/misha/go/pkg/mod/github.com/go-gl/[email protected]/v2.1/gl```

that output
fading sphinx
#

Plus I’d recommend “fyne package” over “go build” so you get a GUI app bundle as the result instead of just binary (icon, metadata etc)

indigo patrol
#

If you go to the Slack Gophers the guy that makes Fyne is on there.

#

I think there is a Fyne slack channel too