-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Error when running make #751
Comments
well no c and c++ compilers were found as your first two lines show. The first error line in google will give you the right answer with the first hit |
can you check for C:\mingw64 ? you probably need to install mingw to have access to c/c++ etc build tools. After that add environment variables > system > path for C:\mingw64 and C:\mingw64\bin entries |
on ubuntu ,run this will be ok sudo apt install build-essential |
I installed CMake, but when I run make, I get this error:
/bin/sh: line 1: cc: command not found
/bin/sh: line 1: g++: command not found
I llama.cpp build info:
I UNAME_S: MSYS_NT-10.0-22621
I UNAME_P: unknown
I UNAME_M: x86_64
I CFLAGS: -I. -O3 -DNDEBUG -std=c11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-unused-function -march=native -mtune=native
I CXXFLAGS: -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function
I LDFLAGS:
I CC:
I CXX:
cc -I. -O3 -DNDEBUG -std=c11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-unused-function -march=native -mtune=native -c ggml.c -o ggml.o
make: cc: No such file or directory
make: *** [Makefile:142: ggml.o] Error 127
Is there something else that I need to install? I am running this on Windows 11.
The text was updated successfully, but these errors were encountered: