Open
Description
Git commit
Commit 6a2bc8b
Operating systems
Windows
GGML backends
CUDA
Problem description & steps to reproduce
Environment: Windows 11 with CUDA toolkit installed.
Sorry, new to this. I tried searching if there was already a solution but couldn't find anything with my limited domain of knowledge.
I followed the guide to build llama.cpp with CUDA support which seems to worked as it built a few binaries that I can see in the bin/Release folder, but I noticed none of the tools were built. I.g. cli, server etc...
Also, my environment was missing CURL libraries, so I had to look it up and install a windows version. And issued the following to build this:
cmake -B build -DGGML_CUDA=ON -DCURL_LIBRARY=c:\Curl\lib\libcurl.a -DCURL_INCLUDE_DIR=c:\Curl\include
Reading up on the llama-server docs, I saw there was a way to build it so I tried it but I got this error:
common.lib(arg.obj) : error LNK2019: unresolved external symbol __imp_curl_slist_appe
nd referenced in function "bool __cdecl common_download_file_single(class std::basic_
string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > con
st &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<
char> > const &)" (?common_download_file_single@@YA_NAEBV?$basic_string@DU?$char_trai
ts@D@std@@V?$allocator@D@2@@std@@00@Z)
And a bunch related to curl.
First Bad Commit
No response
Compile command
cmake -B build -DGGML_CUDA=ON -DCURL_LIBRARY=c:\Curl\lib\libcurl.a -DCURL_INCLUDE_DIR=c:\Curl\include
Relevant log output
common.lib(arg.obj) : error LNK2019: unresolved external symbol __imp_curl_slist_appe
nd referenced in function "bool __cdecl common_download_file_single(class std::basic_
string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > con
st &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<
char> > const &)" (?common_download_file_single@@YA_NAEBV?$basic_string@DU?$char_trai
ts@D@std@@V?$allocator@D@2@@std@@00@Z)