Re: [hatari-devel] PortMidi mingw dev headers/libraries for linux cross compile |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] PortMidi mingw dev headers/libraries for linux cross compile
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Fri, 2 Apr 2021 08:21:12 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1617344474; bh=8TbVox0okZ+e9+Hv51d/z1yXZlVl0oMLnEbdZpaj32o=; h=Date:From:To:Subject:From; b=lMKxlE64fiXntrJNLt/MxEJtXTpXq/z/iYxVHubwjXulSOYCWbjfgLSM/iJVYI5tr rABoAMK8Lk+yMXkDmfiDSrPacnsqvUMeIg40UsNcR5hWEIfhcuhIZ49Dz/6qs4jQFs 94ph6M7APNK3Hf9vQjalXho26XNoXeq+Ykw/P03qlg/3eTdspaaxM+j0W3bhbZiCQf rWxruuOtpweqVZHQeW2ZcdFYuk6FXIXB7UsyqkRLU1DroOeWwqX7L+MUSOfmwxh9uC XqUsZOzoc2lsIyN0NiWpx5YqetMJzje3B+v6iNHq5LMhFAJ8fwiMNAJwrXLRdN67Q8 MNvzcHK7Mro8A==
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