Open jeberger opened 3 weeks ago
I believe the issue was introduced when the source was reorganized into folders. I'm able to work around it by adding the following to the top level CMakeLists.txt
:
if (MINGW)
add_compile_definitions(_WIN32_WINNT=0x602)
endif()
so I believe the equivalent code is missing from some CMakeLists.txt
files in subfolders (I tried adding it to examples/llama-bench/CMakeLists.txt
but that wasn't enough to fix the issue).
I had a similar problem. I just replaced #define _WIN32_WINNT 0x0601 with #define _WIN32_WINNT 0x0A00 in the <_mingw.h> file and it worked.
What happened?
llama-cli
andllama-bench
rev. 9379d3cc1718 built with MinGW fails to load models:Name and Version
What operating system are you seeing the problem on?
Windows
Relevant log output