Skip to content

I can not compile sdl2_mixer with native MIDI only #865

Description

@WildPenquin

Hi,

Some of us have thin clients with native MIDI devices and do not wish to use a softsynth =)

I can not compile with native MIDI only. Seems like timidity or fluidsynth is enforced (despite the very error message claiming otherwise);

$ cmake .. -DSDL2MIXER_MIDI=yes -DSDL2MIXER_MIDI_NATIVE=yes  -DSDL2MIXER_MIDI_TIMIDITY=no -DSDL2MIXER_MIDI_FLUIDSYNTH=no
-- Configuring SDL2_mixer 2.8.2
CMake Error at CMakeLists.txt:152 (message):
  MIDI support was enabled (SDL2MIXER_MIDI) but neither FluidSynth
  (SDL2MIXER_MIDI_FLUIDSYNTH), native (SDL2MIXER_MIDI_NATIVE) or timidity
  (SDL2MIXER_MIDI_TIMIDITY) was enabled


-- Configuring incomplete, errors occurred!

I need to change either TIMIDITY or FLUIDSYNTH to yes to be able to compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions