Skip to content

Client Installation

The warecache desktop client is a native application built with C++ and ImGui. It connects to a warecache server to manage parts, BOMs, projects, containers, sensors, distributors, and production orders.

The source code is available at gitlab.slant.tech/open-source/warecache/desktop-client.

Download Binary

Go to the official download page to get the binaries for your operating system.

From Source

Build steps are OS dependent, please select the relevant OS you are building on

Dependencies

  • CMake (>= 3.22)
  • Rust toolchain (for wc-api)
  • GLFW3
  • OpenGL
  • OpenSSL
  • GTK3

Build

git clone https://gitlab.slant.tech/open-source/warecache/desktop-client.git
cd desktop-client
git submodule update --init --recursive
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

The binary will be at build/warecache.

Dependencies

  • CMake (>= 3.22)
  • Rust toolchain (for wc-api)
  • GLFW3
  • OpenGL (system framework)
  • OpenSSL

Build

git clone https://gitlab.slant.tech/open-source/warecache/desktop-client.git
cd desktop-client
git submodule update --init --recursive
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

The binary will be at build/warecache.

Windows builds require cross compilation from a Linux host.

Dependencies

  • CMake (>= 3.22)
  • Rust toolchain with Windows target (for wc-api)
  • MinGW-w64 toolchain
  • GLFW3
  • OpenSSL

Build

git clone https://gitlab.slant.tech/open-source/warecache/desktop-client.git
cd desktop-client
git submodule update --init --recursive
cmake -B build -DCMAKE_BUILD_TYPE=Release -DCROSS_COMPILE=ON -DCROSS_COMPILE_TGT=Windows
cmake --build build

The binary will be at build/warecache.exe.