Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Compiling

Matt Haynie edited this page Aug 6, 2020 · 10 revisions

Compiling

This guide assumes you are already familiar with the fundamentals of git and compiling programs from source code.

TF2 Bot Detector currently only works on MSVC and Windows, but support for Linux is planned.

Windows

  1. Download and install CMake: https://cmake.org/download/
  2. Follow the instructions in the readme of vcpkg to install it:
    1. git clone https://github.com/Microsoft/vcpkg.git
    2. cd vcpkg
    3. bootstrap-vcpkg.bat
  3. Install the required packages for TF2 Bot Detector:
    vcpkg install SDL2 openSSL glbinding cpp-httplib libzippp fmt discord-game-sdk --triplet x64-windows
  4. Download the TF2 Bot Detector source code:
    1. git clone https://github.com/PazerOP/tf2_bot_detector.git --recursive
    2. cd tf2_bot_detector
  5. Perform an out-of-source build with CMake:
    1. mkdir build
    2. cd build
    3. cmake ../ -DCMAKE_TOOLCHAIN_FILE=[vcpkg root]\scripts\buildsystems\vcpkg.cmake
    4. cmake --build . --config Release
Clone this wiki locally