whisper.cpp
whisper.cpp copied to clipboard
not building main.exe
Main.exe fails with bad array length
Fails stack below
GCC -I. -O3 -std=c11 -mfma -mf16c -mavx -mavx2 -c ggml.c -o ggml.o g++ -I. -I./examples -O3 -std=c++11 -c whisper.cpp -o whisper.o g++ -I. -I./examples -O3 -std=c++11 examples/main/main.cpp whisper.o ggml.o -o main ./main -h mingw32-make: *** [Makefile:98: main] Error -1073741511
Env : windows 10 .
was able to build till 30th oct
Able to solve the issue for now , but not sure why does it require static libstdc+
modified line 98 in MAKEFILE to
$(CXX) $(CXXFLAGS) examples/main/main.cpp whisper.o ggml.o -static-libstdc++ -static-libgcc -o main $(LDFLAGS)