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

Issue: LibWhisper.swift Fails to Build Objective-C Module whisper #2757

Open
DeepBhupatkar opened this issue Jan 23, 2025 · 0 comments
Open

Comments

@DeepBhupatkar
Copy link

DeepBhupatkar commented Jan 23, 2025

I'm encountering a build issue with the iOS Swift example for whisper.cpp. The project throws the following error:
Steps I followed:

  1. Cloned the whisper.cpp repository.
  2. Tried running the iOS Swift example located in examples/whisper.swiftui.

However, the build fails with the following errors:
Key Errors:
'whisper.h' file not found with
Multiple Cannot find in scope errors, such as:
Cannot find 'whisper_free' in scope
Cannot find 'whisper_full_default_params' in scope
Cannot find 'WHISPER_SAMPLING_GREEDY' in scope

Am I missing any steps? I followed all five steps from the SwiftUI project guide : https://github.com/ggerganov/whisper.cpp/tree/master/examples/whisper.swiftui, but despite trying multiple times, this issue keeps occurring. same thing happing in object-c example.

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