glfw icon indicating copy to clipboard operation
glfw copied to clipboard

PlatformError: Cocoa: Failed to retrieve display name

Open benthomasson opened this issue 1 year ago • 1 comments

I received this error message:

# github.com/go-gl/glfw/v3.2/glfw In file included from ../../go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/c_glfw_darwin.go:8: ../../go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/glfw/src/cocoa_window.m:989:9: warning: multiple methods named 'center' found [-Wobjc-multiple-method-names] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:602:19: note: using /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:417:1: note: also found GLFW: An uncaught error has occurred: PlatformError: Cocoa: Failed to retrieve display name GLFW: Please report this bug in the Go package immediately. 2024/10/06 09:45:21 PlatformError: Cocoa: Failed to retrieve display name

benthomasson avatar Oct 06 '24 13:10 benthomasson

Thanks for the report. GLFW v3.2 is an older version. Does this also happen with v3.3?

dmitshur avatar Oct 06 '24 18:10 dmitshur