A software development kit (SDK) to develop C++ plugins for the haze-dumper or to extend the Lua API.
- Install
git
- Arch:
sudo pacman -S git
- Ubuntu/Debian:
sudo apt install -y git
- Fedora:
sudo dnf install git-all
- Windows: git for windows
- Arch:
- Clone the repository recursively:
git clone --recursive https://github.com/hazedumper/plugin-sdk
- Install Visual Studio 2022
- Open the
Developer PowerShell for VS 2022
- Navigate into the repository
- Enter the code below to build LuaJIT from source
Set-ExecutionPolicy Bypass -Scope Process -Force;
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
.\build_lua_jit.ps1
- Open the
plugin-sdk.sln
in Visual Studio 2022
- Install LuaJIT using your systems package manager or follow their official installation instruction:
- Arch:
sudo pacman -S luajit
- Ubuntu/Debian:
sudo apt install -y libluajit-5.1-dev
- Fedora:
sudo yum install luajit
- MacOS:
brew install luajit
- Arch: