First post, by Dominus
- Rank
- DOSBox Moderator
hi,
as per the problems dbgl-user had with applying and compiling the patch at Re: how to - apply patch to dosbox linux? I took a quick look as well.
Applying the patch is not a problem besides the -p1 but that is something one needs to eventually figure out when applying patches.
But then it wouldn't find the mt32emu headers, as the patch didn't add them. So to compile I had to copy everything of munts mt32emu/src to DOSBox source root into the folder mt32emu. That at least fixed finding the headers but then it failed with
../../mt32emu/mt32emu.h:47:2: error: Incompatible setting MT32EMU_API_TYPE=3
#error Incompatible setting MT32EMU_API_TYPE=3
^
In file included from midi.cpp:102:
In file included from ./midi_mt32.cpp:9:
./midi_mt32.h:10:2: error: Incompatible mt32emu library version
#error Incompatible mt32emu library version
I figure this means that the patch is for an olderrevision of the Munt code. Could you maybe redo the the patch to include the right revision of the munt source or add a note to the readme of the patch folder to state for which revision/version of Munt it is meant for?