Open JMBartelt opened 1 year ago
I personally never tested that, because I don't have x86 Android device. But you probably can:
Plugins/Android
and replace existing onePlayerSettings
. I added that just as a warning and it won't break anything.PlayerSettings
enable x86_64 architectureShould probably work after that. Please write back if it does.
P.S. For what target do you compile x86_64? Is that some Chrome OS IoT stuff?
Thanks for the directions, I'll give it a try! My target device is the Magic Leap 2
The app builds and starts after replacing the libwhisper.a with one compiled for Android x86_64, but crashes immediately at runtime.
Heads-up to anyone who stubbles upon this, you may need to update the build.sh script that is in the root folder to respect the architecture specified in the build pipeline.
https://github.com/Macoron/whisper.unity/blob/master/build_cpp.sh#L78
Heads-up to anyone who stubbles upon this, you may need to update the build.sh script that is in the root folder to respect the architecture specified in the build pipeline.
https://github.com/Macoron/whisper.unity/blob/master/build_cpp.sh#L78
Does the compiled library work on your target x86_64 device?
Yes, I just pushed up the changes and configured the project in my fork for android x86_64: https://github.com/Babilinski/whisper.unity
Would it be possible for whisper.cpp to be compiled for Android x86_64 architecture and run using whisper.unity?
I've got a libwhisper.so file built for Android x86_64 and am wondering what my next steps would be to implement it with whisper.unity. Thanks!