-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/mobile: build error when compiling with openal #20902
Comments
sorry,the go env: |
PS,if I didn't run "gomobile init" with -openal flag,I will get the same error output.This stuff is just driving me crazy ... |
Another thing. At first I built this,I got the error 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 Then I added AL/ directory from what I just downloaded to exp/audio/al/,and init gomobile with openal flag pointing what I just downloaded. I'm confused because I don't know what's the right way to deal with it |
Change https://golang.org/cl/101136 mentions this issue: |
Please run gomobile init with the -ndk flag as well. I'll send a CL that won't silently ignore -openal if no NDK is found. |
Updates golang/go#20902 Change-Id: I523c0b7a205e620c143f2ba9c7cdbe30865a9c59 Reviewed-on: https://go-review.googlesource.com/101136 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Updates golang/go#20902 Change-Id: I523c0b7a205e620c143f2ba9c7cdbe30865a9c59 Reviewed-on: https://go-review.googlesource.com/101136 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Updates golang/go#20902 Change-Id: I523c0b7a205e620c143f2ba9c7cdbe30865a9c59 Reviewed-on: https://go-review.googlesource.com/101136 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
What version of Go are you using (
go version
)?go version go1.8.1 darwin/amd64
gomobile version +44a54e9 Wed May 24 10:27:38 2017 +0000 (android,ios); androidSDK=
What operating system and processor architecture are you using (
go env
)?MacOS10.12.1
What did you do?
gomobile init -ndk /Users/bluepants/Documents/adt-bundle-mac-x86_64-20131030/sdk/ndk-bundle -openal "/Users/bluepants/Downloads/openal-soft-1.18.0"
gomobile build
What did you expect to see?
SUCCESS
What did you see instead?
gomobile: the Android requires the golang.org/x/mobile/exp/audio/al, but the OpenAL libraries was not found. Please run gomobile init with the -openal flag pointing to an OpenAL source directory.
Is somewhere I did wrong?Why did I can't do it right?Please help me.
The text was updated successfully, but these errors were encountered: