最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c++ - After building whisper.cpp on WIN10 (gcc) , whisper-server is not working at all - Stack Overflow

programmeradmin3浏览0评论

I am trying to build whisper.cpp on WIN10 with GCC
.cpp

Installed CMake, installed TDM64 (gcc compiler), updated CMakeLists.txt

set(CMAKE_GENERATOR "Unix Makefiles")  <-- this seems to be ignored anyhow
set(CMAKE_CXX_COMPILER "C:/TDM-GCC-64/bin/g++.exe")
set(CMAKE_C_COMPILER "C:/TDM-GCC-64/bin/gcc.exe")

Build is complete just fine (forcing generator, otherwise defaults to my Visual STudio)

cmake -B build -DWHISPER_SDL2=ON -G "Unix Makefiles" --fresh
cmake -B build -G "Unix Makefiles" --fresh

But whisper-stream binary appears to do nothing

PS > ./whisper-stream -m ./models/ggml-base.en.bin -t 8 --step 500 --length 5000
PS >
PS > ./whisper-stream -h
PS >

CLI is working as expected (probably), at least, starts just fine

PS > .\whisper-cli.exe -h

usage: whisper-cli.exe [options] file0.wav file1.wav ...

options:
  -h,        --help              [default] show this help message and exit
  -t N,      --threads N         [4      ] number of threads to use during computation
  -p N,      --processors N      [1      ] number of processors to use during computation
  -ot N,     --offset-t N        [0      ] time offset in milliseconds
  -on N,     --offset-n N        [0      ] s 

So basically I'm puzzled, whisper-stream build was wrong, SDL cannot be initialized, how can I debug this?

Thanks for hints!

发布评论

评论列表(0)

  1. 暂无评论