The build.bat
was modified to work on MSYS2 MinGW32. You will need to install these packages:
mingw-w64-i686-gcc
mingw-w64-i686-lua53
mingw-w64-i686-SDL2
mingw-w64-i686-SDL2_image
mingw-w64-i686-readline
You can use a single-line command to install all of them at once:
pacman -S mingw-w64-i686-gcc mingw-w64-i686-lua53 mingw-w64-i686-SDL2 mingw-w64-i686-SDL2_image mingw-w64-i686-readline
Since the build script uses g++, building may take some time.
You can modify build.bat
as needed to make it work with different environments and compilers.
For Ubuntu and similar distros, you will need to install these packages:
sudo apt install gcc liblua53-dev libsdl2-dev libsdl2image-dev libimgui-dev
Then just run the build.sh
script. Since it uses g++, building may take some time.