Skip to content

Building on Windows using MinGW

Simon Ellwood edited this page Mar 12, 2017 · 4 revisions

This is how I build B-Em on Windows 7.

Download the B-Em MinGW Build Environment from here: https://www.dropbox.com/s/t7npyinl5aszrpk/BEmMinGW.zip?dl=0

It's quite big, 427MB! Unzip it as C:/MinGW

Note: If you put it anywhere else, you will have to change some paths in cleanbem.bat and makebem.bat

Install the Windows git client from here: https://git-scm.com/download/win

Open a GIT Bash shell and clone the project (or use a git frontend of your choice to clone the project):

cd <some directory>
git clone https://github.com/stardot/b-em.git

Open a Windows Command shell and

cd <the b-em directory created above>
cleanem.bat
makebem.bat
copy src\b-em.exe \MinGW\b-em-runtime

Note: ignore any errors from the cleanem.bat script

In Windows Explorer. navigate to \MinGW\b-em-runtime and click on b-em.exe