Windows Fail to build on whisper download
I've already got cmake and gcc installed on my window environment, struggle with this vague error during make step:
[Nodejs-whisper] Do you want to use CUDA for compilation? (y/n)
(ENTER for n):
[Nodejs-whisper] Not using CUDA for compilation.
cmake -B build
Makefile:7: recipe for target 'build' failed
process_begin: CreateProcess(NULL, cmake -B build, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: *** [build] Error 2
I have no idea what file it's suppose to be looking for there 🤷
Looks like you are using mingw32-make,but as README said, should use MinGW-w64 May I ask how did you install cmake and gcc? For me, I [Install MSYS2 from https://www.msys2.org And then I use MSYS2 CLANG64
pacman -S msys/make
to install make.
also I install cmake from https://cmake.org/
After I reload your computer And it wroks.
my window environment: window 11 24H2
Maybe you just forget reload your computer?
hey @Melonbwead this Windows build failure has been fixed in the latest version. the issue was that we were using make/mingw32-make which doesn't work reliably on Windows, we've now migrated to CMake.
Just update to npm install nodejs-whisper@latest and try again.
I gave up using windows in the end 😅 , Can't help test this any more 🙏