-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: setup android support #52
Conversation
Failed to run on Android arm64 ls
libcargs.so libonnxruntime.so libsherpa-onnx-c-api.so libsherpa-onnx-cxx-api.so libsherpa_rs.so tts tts-0498663e598a2018 tts-0498663e598a2018.d tts.d
surya:/data/local/tmp/examples $ LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./tts
CANNOT LINK EXECUTABLE "./tts": library "libpthread.so.0" not found: needed by /data/local/tmp/examples/libsherpa-onnx-c-api.so in namespace (default)
1|surya:/data/local/tmp/examples $ Dist: Dist { url: "https://github.com/k2-fsa/sherpa-onnx/releases/download/v1.10.32/sherpa-onnx-v1.10.32-linux-aarch64-shared-cpu.tar.bz2", sha256: "131223601629A03FF2820DAE4E06EAA11DB1180AC416444828EA1A8A98F69537", name: "sherpa-onnx-v1.10.32-linux-aarch64-shared-cpu", is_dynamic: true } Seems like the |
Please use the script from sherpa-onnx to build it by yourself. Hint: set |
I suggest this repo only does one thing, that is, provide rust API support for sherpa-onnx. |
…ndling for Android support
Todo:
Failed to generate bindings: ClangDiagnostic("/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:1022:2: error: Unsupported architecture
Related: rust-lang/rust-bindgen#1229