Contrary to the instructions you don't need to download allegro manually from github. I used the libraries delivered by the msys2 package system with no trouble and without the menu glitches mentioned in the readme. I assume the bug mentioned has been long since fixed.
There's a bewildering bunch of different makefiles and it's a long while ago so I can't remember specifically what I did, but see I have a makewin.bat in my b-em directory which I assume I created myself as it's not tracked by git. It contains the following:
I've also modified src/Makefile.win to add to the OBJ variable below resid.o so that the icon gets included in the binary.
If you install the 64 bit libraries and do your builds in a mingw64 shell I assume you get a 64 binary. I'm afraid I've been very lazy about sorting out a working 64 bit build environment and just always use a mingw32 shell and associated libraries for everything I compile.
There's a bewildering bunch of different makefiles and it's a long while ago so I can't remember specifically what I did, but see I have a makewin.bat in my b-em directory which I assume I created myself as it's not tracked by git. It contains the following:
Code:
@echo offset CPP=g++set CC=gccset WINDRES=windrescd srcmake -f Makefile.win b-em.execp b-em.exe ../cd ..
Code:
b-em.res
If you install the 64 bit libraries and do your builds in a mingw64 shell I assume you get a 64 binary. I'm afraid I've been very lazy about sorting out a working 64 bit build environment and just always use a mingw32 shell and associated libraries for everything I compile.
Statistics: Posted by guesser — Fri Aug 23, 2024 6:17 pm