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

How to use whisper_dart or whisper_flutter for a Flutter app in Windows and then for Android? #9

Open
yubrshen opened this issue Feb 21, 2023 · 0 comments

Comments

@yubrshen
Copy link

yubrshen commented Feb 21, 2023

Thank you for providing whisper_dart and whisper_flutter!
I'm new to Flutter app development. I just finished the tutorial to create a new "Hello World" Flutter app with VS Code.
Could you please give me more instructions?

So far, I'm copying the example with whisper_flutter (found at https://pub.dev/packages/whisper_flutter/example), for lib\main.dart, but got errors probably with the following lines:
WidgetsFlutterBinding.ensureInitialized(); DynamicLibrary.open("libwhisper.so");

but I got the following errors:
Launching lib\main.dart on Windows in debug mode... main.dart:1 LINK : fatal error LNK1149: output filename matches input filename 'C:\Users\yubrs\dev_windows\whisper_flutter_example\build\windows\plugins\whisper_flutter\shared\Debug\whisper.lib' [C:\Users\yubrs\dev_windows\whisper_flutter_example\build\windows\plugins\whisper_flutter\shared\whisper_flutter.vcxproj] Exception: Build process failed. Exited (sigterm)

I suspect that besides copying the example code, I might need to do more setup in my project for the app.
But what should I do? Thanks for your help!

(My environment is Windows 11, and I can use Ubuntu/WSL2).

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