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!