-
Notifications
You must be signed in to change notification settings - Fork 447
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
This library cannot reconcile with the react-native onnxuruntime official library: unresolved OrtGetApiBase symbol #601
Comments
Do you re-build sherpa-onnx using linbonnxruntime.so from the official react native library? |
No, I didn't do that. How can I do that? I'm new to this, please help. I just downloaded the libs from your release page. |
Please see our documentation |
Thanks, I will try that |
If you have troubles, please point me to the URL of libonnxruntime.so and I will build one for you. |
This is the jettified onnx lib in my transform cache: https://github.com/l3utterfly/jetified-onnxruntime-android-1.17.0 If you can build one I would greatly appreciate it! Thank you! |
Please see #603 |
Thank you so much for this! I really appreciate it. Do you think it's helpful to update the documentation or upload these built libraries to your repo? I believe there are plenty of other users who would like to use both this library and the official onnxruntime library at once. |
First, I want to check if it works for you. If yes, then I think we can add documentation for it and also provide pre-built .so files for it. |
We have an on-going issue #433 We need to support react native eventually. |
Yes, this works! |
Thanks for verifying it. Do you have a plan to contribute the React Native support for sherpa-onnx or will your implementation be open sourced? |
Sure, I am happy to help where I can! I don't have any custom implementation though.. I just followed your documentation... |
I'm only using the TTS portion of sherpa, so I basically followed your documentation on building for android/ios, then wrote a React Native bridge which exposes the one function that TTS needs. |
Will your binding code be open sourced? |
This is the binding code:
Currently it only exposes what I need in my application, but it could be a good starting point. It's not encapsulated in its own library or anything. |
I'm not sure how useful this is. I did not create a separate package or anything. |
sherpa-onnx will say cannot resolve "OrtGetApiBase" symbol. I think this is because the official library has versioned API.
Is there any way we can reconcile this?
The text was updated successfully, but these errors were encountered: