On Dienstag, 23. August 2022 07:19:52 CEST Christian Zietz wrote:
I remember I had huge difficulties building portmidi (the version from
the SourceForge in Hatari's doc) from source.
Took a look at the source package from my distro (tumbleweed), which had some
patches to fix build problems. Also took a look at the fedora packages, which
has similar patches, and also a patch to disable java bindings. The attached
patch below is a combination of those, relative to the -217 release.
With that, you can just use
$ cmake -G "MSYS Makefiles" .
and run make. According to some comment in the *.spec files, using a decidated
build directory does not work (but i did not try that). What's not working is
to use -G "MingW Makefiles", that complains about sh.exe being in the PATH.