Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NSGL: Failed to find a suitable pixel format #504

Closed
marchellodev opened this issue Aug 14, 2020 · 1 comment
Closed

NSGL: Failed to find a suitable pixel format #504

marchellodev opened this issue Aug 14, 2020 · 1 comment

Comments

@marchellodev
Copy link

When trying to run the application on macOS in a virtual machine, I get this error:

Unable to create basic Accelerated OpenGL renderer.
Unable to create basic Accelerated OpenGL renderer.
Core Image is now using the software OpenGL renderer. This will be slow.
GLFW: An invalid error was not accepted by the caller: FormatUnavailable: NSGL: Failed to find a suitable pixel format
GLFW: Please report this bug in the Go package immediately.
panic: FormatUnavailable: NSGL: Failed to find a suitable pixel format

goroutine 1 [running, locked to thread]:
github.com/go-gl/glfw/v3.3/glfw.acceptError(0xc000040b28, 0x2, 0x2, 0x0, 0x0)
	/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/error.go:178 +0x201
github.com/go-gl/glfw/v3.3/glfw.CreateWindow(0x1a4, 0x280, 0x4406889, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/window.go:350 +0x1c1
github.com/go-flutter-desktop/go-flutter.(*Application).Run(0xc0000fa000, 0x0, 0x0)
	/go/pkg/mod/github.com/go-flutter-desktop/[email protected]/application.go:148 +0x147
github.com/go-flutter-desktop/go-flutter.Run(0xc0000f8000, 0x9, 0xe, 0x7, 0xc000040f40)
	/go/pkg/mod/github.com/go-flutter-desktop/[email protected]/application.go:26 +0x4d
main.main()
	/app/go/cmd/main.go:24 +0x188
@provokateurin
Copy link
Member

You can't use go-flutter in a virtual machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants