-
Notifications
You must be signed in to change notification settings - Fork 43
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
macOS support #13
Comments
P. S. I've already tried to modify |
It is not about dylib itself, I believe dylib just have to be in the flutter package where linker finds it |
Actually, it's already there(it's placed to Frameworks during build): P. S. It looks like there is wrong version of the 00:46 +5 -1: Recognizer Constructor grammar and #setGrammar give same result [E]
Invalid argument(s): Failed to lookup symbol 'vosk_recognizer_set_grm': dlsym(0x2020df5a0, vosk_recognizer_set_grm): symbol not found |
Yes, we need to rebuild it eventually, see alphacep/vosk-api#681 |
And we can package libvosk into framework too |
Can this be implemented please |
I tried to use
libvosk.dylib
from vosk-0.3.45 and got an error:After a little investigation, I found that
libvosk.dylib
does have a non-rpath reference inside, which is causing the problem:mac@Mac-mini-Mac Libraries % otool -L libvosk.dylib libvosk.dylib: libvosk.dylib (compatibility version 0.0.0, current version 0.0.0) # <- this one /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate (compatibility version 1.0.0, current version 4.0.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1200.3.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
But I'm not much in macOS and CMake, so would appreciate any help in compiling the voks-api with RPATH enabled 🙏
The text was updated successfully, but these errors were encountered: