Then I copied the .lib files into the root of my flutter project. However, I can not run the flutter project. Is my compilation correct? Where do I copy the .lib files?
When I debug the code, it fails with the above error, even when not using any llama_cpp_dart stuff in my flutter project. If I remove the plugin from my pubsec.yaml, my flutter project runs fine.
The error:
Launching lib\main.dart on Windows in debug mode...
CMake Error at flutter/ephemeral/.plugin_symlinks/llama_cpp_dart/src/CMakeLists.txt:16 (add_subdirectory):
add_subdirectory given source "./llama.cpp" which is not an existing
directory.
Building Windows application... 79ms
Error: Unable to generate build files
I have cloned Llama.cpp and compiled it using the following command:
I am using windows, and inside
llama.cpp/build/Release
dir, I found the following files:Then I copied the
.lib
files into the root of my flutter project. However, I can not run the flutter project. Is my compilation correct? Where do I copy the.lib
files?When I debug the code, it fails with the above error, even when not using any llama_cpp_dart stuff in my flutter project. If I remove the plugin from my pubsec.yaml, my flutter project runs fine.
The error: