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

Could not compile oboe #140

Open
tsurumi-yizhou opened this issue Apr 17, 2023 · 0 comments
Open

Could not compile oboe #140

tsurumi-yizhou opened this issue Apr 17, 2023 · 0 comments

Comments

@tsurumi-yizhou
Copy link

Execuse me. When I run "cargo android build", the error shows:

error: attribute must be applied to a static variable
--> /Users/yizhou/.cargo/registry/src/github.com-1ecc6299db9ec823/oboe-0.3.1/src/audio_stream.rs:625:5
|
625 | #[used]
| ^^^^^^^

error: could not compile oboe due to previous error

warning: build failed, waiting for other jobs to finish...
error: Failed to compile lib
Failed to run cargo build`: Command "cargo build --package tsheghon --manifest-path
/Users/yizhou/tsheghon/Cargo.toml --target aarch64-linux-android --color always" didn't complete
successfully, exiting with code 101.
In which "yizhou" is my username in macos, and "tsheghon" is the project name.

Should I change my toolchain for fix? Thank you.

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