Required Tools
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 has not been tested.
Follow the steps for building for Windows replacing make releasemf with make portable.
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:
./builds/windows/vc2010/freetype.sln in Visual Studioftoptions.h#define FT_EXPORT(x) __declspec(dllexport) x
#define FT_BASE(x) __declspec(dllexport) x
./objs/vc2010/x64/freetype28.dll to freetype6.dllbin/release/freetype6.dll in the repository with this new DLL