-
Notifications
You must be signed in to change notification settings - Fork 9
Building on Archlinux
Install the required dependencies using the following command:
pacman -S base-devel cmake gcc git ninja pkgconfig exiv2 gtk3 libsecret webkit2gtk libnotify sdl pangomm
Clone the latest version of the repository (either the master
branch or the latest tagged release):
git clone https://github.com/fszontagh/sd.cpp.gui.wx.git
Navigate to the cloned repository and create a build directory:
cd sd.cpp.gui.wx
mkdir build
cd build
Configure the project using cmake
with the Ninja build system. Enable the desired backends by setting the appropriate flags:
cmake .. -DCMAKE_BUILD_TYPE=Release -DSD_AVX=ON -DSD_AVX2=ON -DSD_AVX512=ON -DSD_CUBLAS=ON -G Ninja
Build the project with the following command:
cmake --build . --config Release
After a successful build, you can test the application by running the stablediffusiongui
binary.