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

Compile Error in RNWhisperContext.mm #45

Open
jcarnegie opened this issue May 24, 2023 · 2 comments
Open

Compile Error in RNWhisperContext.mm #45

jcarnegie opened this issue May 24, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@jcarnegie
Copy link

jcarnegie commented May 24, 2023

I'm getting a compile error in RNWhisperContext.mm:

.../node_modules/whisper.rn/ios/RNWhisperContext.mm:362:37 Assigning to 'whisper_encoder_begin_callback' (aka 'bool (*)(struct whisper_context *, void *)') from incompatible type '(lambda at .../node_modules/whisper.rn/ios/RNWhisperContext.mm:362:37)'

I'm having trouble getting past this point. Let me know what additional information you need and I'll send it along. Thanks!

@jhen0409
Copy link
Member

The function is defined here: (struct whisper_context *, struct whisper_state *, void *)

I remember it is changed from whisper.cpp 1.3, so it might be old. Can you check it with latest version or RC again?

@jcarnegie
Copy link
Author

I installed the latest rc using npm i whisper.rn@rc and I'm getting the same error.

@jhen0409 jhen0409 added the help wanted Extra attention is needed label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants