ggerganov / whisper.cpp

Port of OpenAI's Whisper model in C/C++
MIT License
35.38k stars 3.61k forks source link

make: *** [Makefile:1008: clean] Error 2 #2472

Open mriamnobody opened 2 weeks ago

mriamnobody commented 2 weeks ago

Environment

OS: Windows 11
CUDA: 12.1.r12.1
cUDNN: 9.5.0
Cmake:3.28.4
gcc: (MinGW.org GCC-6.3.0-1) 6.3.0

I have git cloned and ran command make clean. I'm getting the following error:

process_begin: CreateProcess(NULL, uname -s, ...) failed.
Makefile:88: pipe: No error
process_begin: CreateProcess(NULL, uname -p, ...) failed.
Makefile:92: pipe: No error
process_begin: CreateProcess(NULL, uname -m, ...) failed.
Makefile:96: pipe: No error
The system cannot find the path specified.
process_begin: CreateProcess(NULL, which ccache, ...) failed.
Makefile:186: pipe: Bad file descriptor
I ccache not found. Consider installing it for faster compilation.
process_begin: CreateProcess(NULL, cc -dumpmachine, ...) failed.
Makefile:376: pipe: Bad file descriptor
process_begin: CreateProcess(NULL, cc --version, ...) failed.
scripts/get-flags.mk:1: pipe: No error
The system cannot find the path specified.
process_begin: CreateProcess(NULL, expr >= 070100, ...) failed.
scripts/get-flags.mk:32: pipe: Bad file descriptor
process_begin: CreateProcess(NULL, expr >= 080100, ...) failed.
scripts/get-flags.mk:35: pipe: Bad file descriptor
I whisper.cpp build info:
I UNAME_S:
I UNAME_P:
I UNAME_M:
I CFLAGS:    -Iggml/include -Iggml/src -Iinclude -Isrc -Iexamples -D_XOPEN_SOURCE=600 -DNDEBUG -DGGML_USE_OPENMP  -std=c11   -fPIC -O3 -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration -march=native -mtune=native -fopenmp -Wdouble-promotion
I CXXFLAGS:  -std=c++11 -fPIC -O3 -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wmissing-declarations -Wmissing-noreturn -fopenmp  -march=native -mtune=native -Wno-array-bounds -Iggml/include -Iggml/src -Iinclude -Isrc -Iexamples -D_XOPEN_SOURCE=600 -DNDEBUG -DGGML_USE_OPENMP
I NVCCFLAGS: -std=c++11 -O3
I LDFLAGS:
'cc' is not recognized as an internal or external command,
operable program or batch file.
I CC:
'head' is not recognized as an internal or external command,
operable program or batch file.
I CXX:

rm -vrf *.dot main bench quantize server tests/test-c.o
process_begin: CreateProcess(NULL, rm -vrf *.dot main bench quantize server tests/test-c.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:1008: clean] Error 2