-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go bindings fail to compile on Windows because of incorrect Make target name #2582
Comments
Workaround: 810260f It's kind of fragile, it'll probably break if the Makefile target changes again. I ended up having to rename the file back to |
I have also got this issue. I am on Linux (Ubuntu 24.04.1 LTS noble). Mkdir build
Mkdir models
Build whisper
make[1]: Entering directory '/home/me/whisper.cpp'
I ccache not found. Consider installing it for faster compilation.
I whisper.cpp build info:
I UNAME_S: Linux
I UNAME_P: x86_64
I UNAME_M: x86_64
I CFLAGS: -Iggml/include -Iggml/src -Iinclude -Isrc -Iexamples -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -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 -pthread -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 -pthread -fopenmp -march=native -mtune=native -Wno-array-bounds -Wno-format-truncation -Wextra-semi -Iggml/include -Iggml/src -Iinclude -Isrc -Iexamples -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -DNDEBUG -DGGML_USE_OPENMP
I NVCCFLAGS: -std=c++11 -O3
I LDFLAGS:
I CC: cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
I CXX: c++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0
make[1]: *** No rule to make target 'libwhisper.a'. Stop.
make[1]: Leaving directory '/home/me/whisper.cpp'
make: *** [Makefile:33: whisper] Error 2 |
same error on macOS Sonoma on Sillicon go % make test
Mkdir build
Mkdir models
Build whisper
make[1]: *** No rule to make target `libwhisper.a'. Stop.
make: *** [whisper] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Makefile for Go bindings has a hardcoded
libwhisper.a
, however on Windows this object (and target) is namedwhisper.a
Problematic line
The text was updated successfully, but these errors were encountered: