-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Open
Labels
Description
Git commit
Operating systems
Windows
GGML backends
CUDA
Problem description & steps to reproduce
Trying to compile the llama from source.
First of all, cmake_minimum_required()
is a must for windows, so I have added that.
Finally, when building via:
cmake --build build --config Release -t llama-server
Error is following:
CUSTOMBUILD : CMake error : Not a file: D:/AI/llama.cpp/tools/server/scripts/xxd.cmake [D:\AI\llama.cpp\tools\server\bu
ild\llama-server.vcxproj]
CUSTOMBUILD : CMake error : Error processing file: D:/AI/llama.cpp/tools/server/scripts/xxd.cmake [D:\AI\llama.cpp\tool
s\server\build\llama-server.vcxproj]
I double checked, and indeed there is no such folder called scripts
First Bad Commit
No response
Compile command
cmake --build build --config Release -t llama-server
Relevant log output
cmake --build build --config Release -t llama-server
MSBuild version 17.14.19+164abd434 for .NET Framework
2>Generating loading.html.hpp
1>Generating index.html.gz.hpp
CUSTOMBUILD : CMake error : Not a file: D:/AI/llama.cpp/tools/server/scripts/xxd.cmake [D:\AI\llama.cpp\tools\server\bu
ild\llama-server.vcxproj]
CUSTOMBUILD : CMake error : Error processing file: D:/AI/llama.cpp/tools/server/scripts/xxd.cmake [D:\AI\llama.cpp\tool
s\server\build\llama-server.vcxproj]
The system cannot find the batch label specified - VCEnd
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(237,5): e
rror MSB8066: Custom build for 'D:\AI\llama.cpp\tools\server\build\CMakeFiles\bbc0fdddb73a7891d4d805872b3839cd\loading.
html.hpp.rule' exited with code 1. [D:\AI\llama.cpp\tools\server\build\llama-server.vcxproj]
CUSTOMBUILD : CMake error : Not a file: D:/AI/llama.cpp/tools/server/scripts/xxd.cmake [D:\AI\llama.cpp\tools\server\bu
ild\llama-server.vcxproj]
CUSTOMBUILD : CMake error : Error processing file: D:/AI/llama.cpp/tools/server/scripts/xxd.cmake [D:\AI\llama.cpp\tool
s\server\build\llama-server.vcxproj]
The system cannot find the batch label specified - VCEnd
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(237,5): e
rror MSB8066: Custom build for 'D:\AI\llama.cpp\tools\server\build\CMakeFiles\bbc0fdddb73a7891d4d805872b3839cd\index.ht
ml.gz.hpp.rule' exited with code 1. [D:\AI\llama.cpp\tools\server\build\llama-server.vcxproj]