Open KangByungwoo opened 9 months ago
Hi,
I wanted to use the live transcription feature but I got the following error following "make stream". Thanks in advance!:
sysctl: unknown oid 'hw.optional.arm64' I whisper.cpp build info: I UNAME_S: Darwin I UNAME_P: i386 I UNAME_M: x86_64 I CFLAGS: -I. -O3 -DNDEBUG -std=c11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -mavx -mavx2 -mfma -mf16c -msse3 -mssse3 -DGGML_USE_ACCELERATE -DGGML_USE_METAL I CXXFLAGS: -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -mavx -mavx2 -mfma -mf16c -msse3 -mssse3 -DGGML_USE_METAL I LDFLAGS: -framework Accelerate -framework Foundation -framework Metal -framework MetalKit I CC: Apple clang version 15.0.0 (clang-1500.0.40.1) I CXX: Apple clang version 15.0.0 (clang-1500.0.40.1) cc -I. -O3 -DNDEBUG -std=c11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -mavx -mavx2 -mfma -mf16c -msse3 -mssse3 -DGGML_USE_ACCELERATE -DGGML_USE_METAL -c ggml.c -o ggml.o cc -I. -O3 -DNDEBUG -std=c11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -mavx -mavx2 -mfma -mf16c -msse3 -mssse3 -DGGML_USE_ACCELERATE -DGGML_USE_METAL -c ggml-alloc.c -o ggml-alloc.o cc -I. -O3 -DNDEBUG -std=c11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -mavx -mavx2 -mfma -mf16c -msse3 -mssse3 -DGGML_USE_ACCELERATE -DGGML_USE_METAL -c ggml-backend.c -o ggml-backend.o cc -I. -O3 -DNDEBUG -std=c11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -mavx -mavx2 -mfma -mf16c -msse3 -mssse3 -DGGML_USE_ACCELERATE -DGGML_USE_METAL -c ggml-quants.c -o ggml-quants.o c++ -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -mavx -mavx2 -mfma -mf16c -msse3 -mssse3 -DGGML_USE_METAL -c whisper.cpp -o whisper.o cc -I. -O3 -DNDEBUG -std=c11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -mavx -mavx2 -mfma -mf16c -msse3 -mssse3 -DGGML_USE_ACCELERATE -DGGML_USE_METAL -c ggml-metal.m -o ggml-metal.o c++ -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE -pthread -mavx -mavx2 -mfma -mf16c -msse3 -mssse3 -DGGML_USE_METAL examples/stream/stream.cpp examples/common.cpp examples/common-ggml.cpp examples/common-sdl.cpp ggml.o ggml-alloc.o ggml-backend.o ggml-quants.o whisper.o ggml-metal.o -o stream `sdl2-config --cflags --libs` -framework Accelerate -framework Foundation -framework Metal -framework MetalKit /bin/sh: sdl2-config: command not found In file included from examples/stream/stream.cpp:5: ./examples/common-sdl.h:3:10: fatal error: 'SDL.h' file not found #include <SDL.h> ^~~~~~~ 1 error generated. In file included from examples/common-sdl.cpp:1: ./examples/common-sdl.h:3:10: fatal error: 'SDL.h' file not found #include <SDL.h> ^~~~~~~ 1 error generated. make: *** [stream] Error 1
Before proceeding with make stream, please ensure that the SDL2 library is installed on your system. If it's not yet installed, you can do so by running the command brew install sdl2.
make stream
brew install sdl2
Hi,
I wanted to use the live transcription feature but I got the following error following "make stream". Thanks in advance!: