black_hole

Installation Guide

System Requirements

Prerequisites

You need the following tools installed on your system:

  1. C++ Compiler: Supporting C++17 or newer.
  2. CMake: Download CMake.
  3. Vcpkg: Download Vcpkg (C++ Package Manager).
  4. Git: Download Git.

Dependencies

The project relies on these libraries (handled via Vcpkg):

Build Instructions

  1. Clone the repository:
    git clone https://github.com/kavan010/black_hole.git
    cd black_hole
    
  2. Install dependencies:
    vcpkg install
    
  3. Integrate Vcpkg:
    vcpkg integrate install
    

    Copy the cmake toolchain path output by this command (e.g., -DCMAKE_TOOLCHAIN_FILE=...).

  4. Configure and Build:
    mkdir build
    cd build
    cmake .. -DCMAKE_TOOLCHAIN_FILE=[YOUR_VCPKG_PATH]/scripts/buildsystems/vcpkg.cmake
    cmake --build .
    

Linux (Debian/Ubuntu) Alternative

If you prefer not to use Vcpkg on Linux, you can install the dev packages directly:

  1. Install Packages:
    sudo apt update
    sudo apt install build-essential cmake libglew-dev libglfw3-dev libglm-dev libgl1-mesa-dev
    
  2. Build:
    mkdir build
    cd build
    cmake ..
    cmake --build .
    

Executables

After a successful build, you will find the executables in the build/Debug (Windows) or build/ (Linux) directory: