-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
OS:WindowsTickets affecting only Microsoft WindowsTickets affecting only Microsoft WindowsbugSomething isn't workingSomething isn't working
Description
Fyne looks awesome, and works great out of the box on my mac. I tried to cross-compile for Windows from my mac, and that generates an exe. So far, so good:
GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=$(which i686-w64-mingw32-gcc) go build
Unfortunately, when I run it on my Windows VM (a Windows 7 VirtualBox VM downloaded from Modern.IE), it gives me the following error that others seem to have.
C:\Users\IEUser\Desktop>fynedemo.exe
2019/08/22 15:22:52 Fyne error: window creation error
2019/08/22 15:22:52 Cause: APIUnavailable: WGL: The driver does not appear to support OpenGL
2019/08/22 15:22:52 At: /Users/virtuald/go/src/fynedemo/vendor/fyne.io/fyne/internal/driver/gl/window.go:999
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x2c pc=0x578d8d]
goroutine 1 [running, locked to thread]:
fynedemo/vendor/fyne.io/fyne/internal/driver/gl.(*window).SetContent(0x0, 0x905760, 0x12456120)
/Users/virtuald/go/src/fynedemo/vendor/fyne.io/fyne/internal/driver/gl/window.go:361 +0x1d
main.main()
/Users/virtuald/go/src/fynedemo/main.go:12 +0x1ce
I was hoping that this would 'just work' on a bare Windows installation, but that doesn't seem to be the case. Is this configuration supported? What am I missing?
wenerme and zhan3333
Metadata
Metadata
Assignees
Labels
OS:WindowsTickets affecting only Microsoft WindowsTickets affecting only Microsoft WindowsbugSomething isn't workingSomething isn't working