belte

Building Buckle Locally

Required Tools

Building for Windows

After cloning the repository, run the following command to set up the build directories:

make setup

Then build the project:

make releasemf

If the project fails to compile, try running make debug && make generate && make releasemf.

The built executable will be placed at bin/release/buckle.exe. It is recommended to add this directory to path.

If moving the executable, make sure that all of the files inside of the release directory are moved together.

Alternatively, a single-file release can be built by running make release instead of make releasemf. Note that if this is done, the compile-time handler feature will not work.

Building for Other Systems

Building for other systems has not been tested.

Follow the steps for building for Windows replacing make releasemf with make portable.

Graphics Library

The built-in Graphics Library runs on Mono requiring OpenGL, SDL2, and FreeType6. These libraries should be found automatically. If FreeType6 is not found automatically, it can be built manually:

Requirements:

Steps:

#define FT_EXPORT(x) __declspec(dllexport) x
#define FT_BASE(x) __declspec(dllexport) x