tazz4843 / whisper-rs

Rust bindings to https://github.com/ggerganov/whisper.cpp
The Unlicense
692 stars 110 forks source link

Linker errors when using whisper-rs as an external crate #164

Closed jyash8 closed 4 months ago

jyash8 commented 4 months ago

When I am using whisper-rs as an external crate in my project I am getting linker errors, although i am not getting any errors when i am compiling the example inside the crate's folders. Here are my compiler logs after running "cargo build": log.txt

jyash8 commented 4 months ago

Also can you please tell me about other additional dependencies that are required.

tazz4843 commented 4 months ago

This error just shows a lot of Rust stdlib functions failing to link. This is definitely not a whisper-rs issue, and it's kinda surprising anything on your system compiles given the error. I suggest trying to figure out what's wrong with your build environment: perhaps try another distro or something.

jyash8 commented 4 months ago

I checked, other projects were compiling fine. But I was able to fix the issue by using "nightly" channel and it is working fine now.