Closed thewh1teagle closed 5 months ago
I tried to use this library on windows inside msys2, following BUILDING.md and got bunch of erros. Fixed all of them and planning to improve the instructions as well. Checked in msys2 and it works with the examples of this repo.
msys2
BUILDING.md
https://github.com/tazz4843/whisper-rs/issues/87 https://github.com/tazz4843/whisper-rs/issues/65
Steps to build:
Download msys2 from https://www.msys2.org/ and install
Install prerequisites from ucrt64 terminal
ucrt64
pacman --needed -S $MINGW_PACKAGE_PREFIX-{toolchain,make,cmake,rust,clang} git
Clone
git clone -b fix/msys2-build --recursive https://github.com/thewh1teagle/whisper-rs.git cd whisper-rs
Build
cargo build
Try it
wget -q --show-progress \ https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-base.en.bin -O ggml-base.en.bin cd examples/full_usage cargo run 2830-3980-0043.wav ../../ggml-base.en.bin
Thanks :)
I tried to use this library on windows inside
msys2
, followingBUILDING.md
and got bunch of erros. Fixed all of them and planning to improve the instructions as well. Checked in msys2 and it works with the examples of this repo.https://github.com/tazz4843/whisper-rs/issues/87 https://github.com/tazz4843/whisper-rs/issues/65
Steps to build:
Download
msys2
from https://www.msys2.org/ and installInstall prerequisites from
ucrt64
terminalClone
Build
Try it