tazz4843/whisper-rs

Failed to build libwhisper.a

Closed this issue · 1 comments

yk0n9 commented

error:

failed to run custom build command for `whisper-rs-sys v0.6.1`
  --- stderr
  thread 'main' panicked at 'Failed to build libwhisper.a (is CMake installed?)', C:\Users\ykong\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\whisper-rs-sys-0.6.1\build.rs:131:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

my scoop:

cmake                        3.26.4
llvm                         16.0.6

toolchain rustc 1.70 stable-msvc C++ Build Tools
OS: Windows 11 Pro

yk0n9 commented

i found the real reason
Only applicable to Windows Chinese operating system:

设置 -> 时间和语言 -> 语言和区域 -> 管理语言设置 -> 管理 -> 非 Unicode 程序的语言 -> 更改系统区域设置 -> 当前系统区域设置 (设置为英语(美国))

image