-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
./whisper.cpp/whisper.h:121:81: error: unknown type name 'bool' #35
Comments
"bool" type is not implicitly defined for some compilers.
I've added the header as suggested. I am no sure if it is a good practice to use |
This issue appears to have been the last major blocker to Rust bindings. I have published the ergonomic Rust wrapper at https://crates.io/crates/whisper-rs, if you're curious. Thanks for making this lib! |
"bool" type is not implicitly defined for some compilers.
"bool" type is not implicitly defined for some compilers.
Add coreml feature flag and build.rs updates
I'm attempting to automate rust-bindgen generation. This appears to not work, however, as it uses clang which does not implicitly
#include <stdbool.h>
. Adding#include <stdbool.h>
to line 5 of whisper.h appears to fix this. I'm opening this issue to get feedback and others' thoughts.The text was updated successfully, but these errors were encountered: