Skip to content

Latest commit

 

History

History
90 lines (60 loc) · 2.28 KB

README.md

File metadata and controls

90 lines (60 loc) · 2.28 KB

Multiverse-ServerClient

This repository contains the C++ implementations of both multiverse_server and multiverse_client.


🔧 Prerequisites

Python Dependency (Linux & Windows)

  • pybind11 Install via pip:
    pip install pybind11

Windows Setup

To build on Windows, ensure the Microsoft C++ Build Tools are properly installed:

  1. Install Visual Studio (Community, Professional, or Enterprise):
    👉 https://visualstudio.microsoft.com/

  2. During installation, select the "Desktop development with C++" workload.

  3. This will include the required vcvarsall.bat file, typically located at:

    C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat
    

You’ll need to call vcvarsall.bat (or use the “Developer Command Prompt for VS”) when building the project to configure the MSVC environment.


🚀 Getting Started

On Linux

  1. Open a terminal (Ctrl + Alt + T)

  2. Download this repository:

    • Option 1: Clone via Git:
      git clone https://github.com/Multiverse-Framework/Multiverse-ServerClient
    • Option 2: Download as ZIP and extract it.
  3. Run the setup script:

    ./Multiverse-ServerClient/setup.sh

On Windows

  1. Open a Command Prompt (Win + R → type cmd)

  2. Download this repository:

    • Option 1: Clone via Git:
      git clone https://github.com/Multiverse-Framework/Multiverse-ServerClient
    • Option 2: Download as ZIP and extract it.
  3. Run the setup script:

    .\Multiverse-ServerClient\setup.bat

📂 Output

  • The compiled executables will be located in the bin directory.
  • The generated libraries will be found in lib/<os> (e.g., lib/linux or lib/windows).

▶️ Running the Server

To run the multiverse_server, simply execute the corresponding binary from the bin directory:

./Multiverse-ServerClient/bin/multiverse_server

On Windows:

.\Multiverse-ServerClient\bin\multiverse_server.exe