Closed moncodage closed 6 years ago
This is a problem with shiny, report it to https://github.com/golang/go/issues/
Should have been fixed by 25469b9a57f65ae6c26f0cec5217b6c16f9f737f / https://github.com/golang/exp/commit/072991165226c11c888c881218850e8318c2b32e
Wondering if you could help me. Trying to install gdlv ... go get -u github.com/aarzilli/gdlv and I get the following errors:
github.com/aarzilli/gdlv/vendor/golang.org/x/exp/shiny/driver/gldriver
cocoa.m:24:5: error: redefinition of enumerator 'NSEventTypeScrollWheel' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:40:5: note: previous definition is here cocoa.m:25:5: error: redefinition of enumerator 'NSEventTypeKeyDown' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:32:5: note: previous definition is here cocoa.m:28:5: error: redefinition of enumerator 'NSWindowStyleMaskTitled' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:36:5: note: previous definition is here cocoa.m:29:5: error: redefinition of enumerator 'NSWindowStyleMaskResizable' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:39:5: note: previous definition is here cocoa.m:30:5: error: redefinition of enumerator 'NSWindowStyleMaskMiniaturizable' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:38:5: note: previous definition is here cocoa.m:31:5: error: redefinition of enumerator 'NSWindowStyleMaskClosable' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:37:5: note: previous definition is here