Re: [hatari-devel] PortMidi mingw dev headers/libraries for linux cross compile

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Mon, 29 Mar 2021 15:18:36 -0500
schrieb Chang Chong <codemonkey2x@xxxxxxxxx>:

> Wanted to share a technique for getting the portmidi dev headers and
> libraries for those that want to cross compile windows binaries from
> linux.
[...]
> 2. add this to the src/CMakeLists.txt file:
> 
> if(PortMidi_FOUND)
>     include_directories(${PORT_MIDI_INCLUDE_DIR})
> endif(PortMidi_FOUND)
> 
> By the way, i’m not sure why there’s no check for this and PortAudio.
> This check is being done for zlib, png, x11 and caps image.

I think this was simply because nobody installed portmidi or portaudio
in a non-default location before. But it certainly makes sense to add
these, which I just did now. Thanks for the hint and thanks for sharing
your experiences with cross-compiling!

 Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/