Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.04 KB

BUILD.md

File metadata and controls

56 lines (35 loc) · 1.04 KB

Build

If you encounter any problems with your build or runtime, it is encouraged to submit an issue and steps to reproduce.


GNU/Linux

Clone with submodules, since we're using a lua mirror on linux

git clone --recurse-submodules https://github.com/matiasvlevi/lu5
cd lu5
make

you can then install the executable in /usr/bin

sudo make install

Windows

If you are on windows, you can use an MSYS2 environement.

Windows builds can be done from an arch linux environement with mingw64 installed.

Install dependencies on Windows (MSYS)

pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-lua mingw-w64-x86_64-glfw mingw-w64-x86_64-freetype

Install dependencies on arch linux

yay -S mingw-w64-zlib mingw-w64-gcc mingw-w64-brotli mingw-w64-bzip2 mingw-w64-lua mingw-w64-freetype mingw-w64-winpthreads

build

make PLATFORM=win

build installer (requires wine if on linux)

make PLATFORM=win zip