You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble with midi music in recent nightlies (currently r14648). Music does not play at all, even if it did up to a couple of weeks ago (confirmed working in r14607) with the external midi player. Nothing has changed in my setup (linux) in the interim.
Apparently, extmidi.o is no longer being compiled; it seems that the openttd binary no longer depends on it. I have been able to track this issue to sources.list, particularly to the lines
\# if DOS
\# else
music/extmidi.cpp
\# end
If I remove the conditional, extmidi.o is again a prerequisite to the final binary and gets compiled. This conditional was introduced in r14636 (DOS port), so something must be wrong with it, as I am clearly not running DOS.
I have taken a cursory look at the configure script and it seems to have code (an awk script, to be precise) to parse source.list. The code is contrived, but it seems to handle a number of conditionals but not
the DOS tag. Could this be the source of the problem? (It seems that '# if DOS' is always succeeding, no matter what the OS.)
On a side note, why is SOURCE_LIST defined at the beginning of configure? It is never used afterwards.
cirdan opened the ticket and wrote:
Reported version: trunk
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/2437
The text was updated successfully, but these errors were encountered: