Skip to content
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

Encountered issue when trying to build server on Windows #4

Closed
JunzheShen opened this issue Oct 19, 2023 · 2 comments
Closed

Encountered issue when trying to build server on Windows #4

JunzheShen opened this issue Oct 19, 2023 · 2 comments

Comments

@JunzheShen
Copy link

After running make server, error occurs:

process_begin: CreateProcess(NULL, uname -s, ...) failed.
process_begin: CreateProcess(NULL, uname -p, ...) failed.
process_begin: CreateProcess(NULL, uname -m, ...) failed.
process_begin: CreateProcess(NULL, cc --version, ...) failed.
'cc' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
process_begin: CreateProcess(NULL, expr >= 070100, ...) failed.
process_begin: CreateProcess(NULL, expr >= 080100, ...) failed.
process_begin: CreateProcess(NULL, cc -dumpmachine, ...) failed.
I llama.cpp build info:
I UNAME_S:
I UNAME_P:
I UNAME_M:
I CFLAGS:    -I. -Icommon -D_XOPEN_SOURCE=600 -DNDEBUG -DGGML_USE_K_QUANTS  -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 -Wdouble-promotion -march=native -mtune=native
I CXXFLAGS:  -I. -Icommon -D_XOPEN_SOURCE=600 -DNDEBUG -DGGML_USE_K_QUANTS  -std=c++11 -fPIC -O3 -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wmissing-declarations -Wmissing-noreturn  -Wno-array-bounds -march=native -mtune=native
I NVCCFLAGS:  -I. -Icommon -D_XOPEN_SOURCE=600 -DNDEBUG -DGGML_USE_K_QUANTS  -std=c++11 -fPIC -O3 -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wmissing-declarations -Wmissing-noreturn    -Wno-pedantic -Xcompiler "-Wno-array-bounds -march=native -mtune=native "
I LDFLAGS:
'cc' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
I CC:
'head' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
I CXX:

'sh' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
make: *** [build-info.h] 错误 1

I'm not familiar with make. It seems that this Makefile does not support windows yet?

@Captain-Paul
Copy link

The same with you. Looking for a solution.

@chiranko
Copy link
Collaborator

Hi, our updated doc provides instruction for building on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants