That's what I did:
I downloaded http://pcem-emulator.co.uk/files/PCemV15Win.zip
and extracted it to C:\msys64\home\username\PCemV15Win
Then I run MSYS2 MinGW 32-bit and do the following
$ cd PCemV15Win
$ make clean
$ ./configure --enable-release-build --enable-networking
$ mingw32-make -j8
Then if you didn't get any compilation error:
$ cp ./src/pcem.exe ./
$ start .
And there's your fresh PCem.exe ready to run or to ask for some dll's, see below.
start . is a Windows command which opens the current folder in explorer, it's the same as start .\ but faster to type
make clean to clean any garbage from previous compilations
both --enable-release-build --enable-networking parameters are optional of course.
-j8 where 8 is for the number of CPU threads to use by the compiler, my CPU has 4 HT cores so I'm using 8 threads, this is also optional, under MSYS2 compiling is a bit slow anyway…
And then the resulting PCem.exe doesn't work in place of the original PCem.exe located on PCemV15Win folder because the dll's are not the same, I have to search for the correct ones on c:\msys64 folder.
Each time you run that compiled PCem it throws and error about a missing dll until you get them all.
- Those are the dll's that I have in my PCem folder, some have the same name as the one that come in PCemV15Win.zip but I've replaced them with the ones found on msys64 subfolders: