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

OSX dependencies broken #2

Open
joeblew99 opened this issue Jun 1, 2017 · 3 comments
Open

OSX dependencies broken #2

joeblew99 opened this issue Jun 1, 2017 · 3 comments

Comments

@joeblew99
Copy link

go get github.com/nobonobo/nobopiano

# golang.org/x/mobile/app
../../../golang.org/x/mobile/app/darwin_amd64.m:170:30: warning: 'NSKeyDown' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
/System/Library/Frameworks/AppKit.framework/Headers/NSEvent.h:74:26: note: 'NSKeyDown' has been explicitly marked deprecated here
../../../golang.org/x/mobile/app/darwin_amd64.m:211:14: warning: 'NSTitledWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:953:32: note: 'NSTitledWindowMask' has been explicitly marked deprecated here
../../../golang.org/x/mobile/app/darwin_amd64.m:215:22: warning: 'NSResizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:956:32: note: 'NSResizableWindowMask' has been explicitly marked deprecated here
../../../golang.org/x/mobile/app/darwin_amd64.m:216:22: warning: 'NSMiniaturizableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:955:32: note: 'NSMiniaturizableWindowMask' has been explicitly marked deprecated here
../../../golang.org/x/mobile/app/darwin_amd64.m:217:22: warning: 'NSClosableWindowMask' is deprecated: first deprecated in macOS 10.12 [-Wdeprecated-declarations]
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:954:32: note: 'NSClosableWindowMask' has been explicitly marked deprecated here
x-MacBook-Pro:webrtc apple$ 


@joeblew99
Copy link
Author

sorry. does compile though...
weird go get explodes like that ?

@joeblew99
Copy link
Author

Trying to build for Android, but it looks like gomobile audio interface has changed ?

go: 1.8.3
OS: OSX

x-MacBook-Pro:nobopiano apple$ go get -u golang.org/x/mobile/cmd/gomobile
x-MacBook-Pro:nobopiano apple$ gomobile build -target=android
gomobile: go build -pkgdir=/Users/apple/workspace/go/pkg/gomobile/pkg_android_arm -buildmode=c-shared -o /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-318933473/lib/armeabi-v7a/libnobopiano.so github.com/nobonobo/nobopiano failed: exit status 2
# golang.org/x/mobile/exp/audio/al
../../../golang.org/x/mobile/exp/audio/al/al_android.go:13:10: fatal error: 'AL/al.h' file not found
#include <AL/al.h>
         ^
1 error generated.

@joeblew99
Copy link
Author

joeblew99 commented Jun 1, 2017

I updated my NDK as the SDK manager said it was outdated.
Cleaned my gomobile.
reinstalled gomobile, etc

SO i raised this issue:

golang/go#20547

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

No branches or pull requests

1 participant