Skip to content

Navigation Menu

Sign in
Sign up

Building

Max Shablin edited this page Feb 8, 2026 · 1 revision

This guide will help you set up your environment and compile Reducord on your local machine.

🛠 Prerequisites

Before you begin, ensure you have the following installed:

  • Visual Studio 2022 (with "Desktop development with C++" workload).
  • CMake (version 3.15 or higher).
  • vcpkg (Microsoft's C++ library manager).
  • Git.

📦 Build

Reducord uses vcpkg to manage libraries like Dear ImGui.

  1. Install vcpkg (if you haven't already):

    git clone https://github.com/microsoft/vcpkg.git
    .\vcpkg\bootstrap-vcpkg.bat
    
  2. Integrate with Visual Studio

    .\vcpkg\vcpkg integrate install
  3. Clone the repository

    git clone https://github.com/shablin/reducord.git
    cd reducord
  4. Configure CMake: Replace [path_to_vcpkg] with your actual vcpkg installation path.

    cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=[path_to_vcpkg]/scripts/buildsystems/vcpkg.cmake
  5. Build the project

    cmake --build build --config Release

🏗 Project Structure

  • src/ — Core logic and Win32/DX11 entry point.
  • assets/ — Icons and branding resources.
  • external/ — Small header-only dependencies (if any).
  • CMakeLists.txt — Build configuration.

🧪 Troubleshooting

  • Missing DirectX Headers: Ensure you have the Windows SDK installed (included with Visual Studio).
  • vcpkg Errors: Run vcpkg install imgui[dx11-binding,win32-binding] manually if the automatic manifest fails.
  • Architecture Mismatch: Reducord is designed for x64. Ensure your CMake generator is set to Visual Studio 17 2022 with the x64 platform.

!? Still have questions?

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /