Open primeagen-rustaceans opened 1 month ago
Hi @primeagen-rustaceans
If you don't want to build the plugin from source like our README said: https://github.com/WasmEdge/wasmedge-stable-diffusion?tab=readme-ov-file#set-up-wasmedge
You have to download the plugin manually from the release page: https://github.com/WasmEdge/WasmEdge/releases/tag/0.14.1
And put it into the wasmedge installation folder such as ~/.wasmedge/plugin
FYI: https://github.com/LlamaEdge/sd-api-server?tab=readme-ov-file#setup
Originally I wanted to build the plugin but I am stuck there as well. Followed the below steps.
git clone https://github.com/WasmEdge/WasmEdge.git
cd WasmEdge
cmake build command returning errors.
fatal: No names found, cannot describe anything.
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES)
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES)
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
CMake Error at lib/llvm/CMakeLists.txt:11 (find_package):
Could not find a package configuration file provided by "LLD" with any of
the following names:
LLDConfig.cmake
lld-config.cmake
Add the installation prefix of "LLD" to CMAKE_PREFIX_PATH or set "LLD_DIR"
to a directory containing one of the above files. If "LLD" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
Note : I had previously ran the below commands to install cmake, ninja and llvm. I guess llvm installation has not happened correctly.
sudo apt install cmake sudo apt install ninja-build sudo apt-get install libllvm-18-ocaml-dev libllvm18 llvm-18 llvm-18-dev llvm-18-doc llvm-18-examples llvm-18-runtime
You also need liblld-18-dev
and curl
.
I am getting the following error.
Steps followed are mentioned below.
Please let me know what am I missing. System Info :