← Back to team overview

kicad-developers team mailing list archive

Re: Another OS X build fail

 

> On Dec 1, 2014, at 12:16 AM, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx> wrote:
> 
> This
> 
>> /Volumes/Drobo/Projects/kicad-build/wx-bin/include/wx-3.0/wx/strvararg.h:30:18:
>> fatal error: 'tr1/type_traits' file not found
>>       #include <tr1/type_traits>
>>                ^
>> 1 error generated.
> 
> is almost for sure a sign that you compiled wxWidgets with a different C++ standard library due to using different -mmacosx-min-versions.
> You used 10.9 for KiCad, so you also need to build wxWidgets with that version (or at least, a version that selects the same C++ standard library).
> Did you recompile wxWidgets after switching to new KiCad version and specifying 10.9 as target OS X version (instead of 10.5 as it was before)?
> 
> You could check “tool -L” on some wxWidgets lib to see that it most likely is linked against libstdc++.

I used the osx_build_wx.sh script and I set the --with-macosx-version-min variable to 10.9. Is that the same as -mmacosx-min-versions?

-a

Follow ups

References