← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] wxwidgets macOS Sierra/10.12 SDK fix.

 

Looks good from here, homebrew on osx has included this patch for
wxwidgets for sierra

On Sun, Sep 18, 2016 at 4:22 AM, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
> Once again I'm going to refer to one of our osx devs on this patch.
>
> On 9/15/2016 10:25 PM, Collin Anderson wrote:
>> macOS Sierra has removed QuickTime entirely (because Apple needs to break at least one thing every major OS revision).  This prevents wxWidgets from compiling at all, and as of right now, there is only a workaround, but a true upstream fix will require rewriting portions of wx to use AVKit, which is more or less the replacement for QuickTime, instead.
>>
>> KiCad doesn't use any parts of wx involved, so the work around seems to be fine for us.  I am using the latest commit of KiCad on 10.12 as I write this, with this patch applied, and I'm not having any problems (at least new ones anyway).
>>
>> The workaround is this patch (which is not a direct copy of the upstream fix, which simply removes the include entirely.  I made it where if this patch gets applied, it won't effect anything except when being built against the 10.12 SDK).  Additionally, wxWidgets configure must be given the --disable-mediactrl flag.  This is a temporary workaround, but as far as I know, KiCad doesn't use that control?
>>
>> Anyway, it isn't really an issue as long as you build for an SDK earlier than 10.12, but just putting this on the mailing list for reference.
>>
>> Thanks!
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


References