← Back to team overview

kicad-developers team mailing list archive

Re: Another OS X build fail

 

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++.


Regards,
Bernhard

On 01.12.2014, at 07:59, devel@xxxxxxxxx wrote:

> OK, BZR 5308, on a 10.9.5 machine with updated Xcode. Using the built-in
> boost and wxWidgets 3.0.2. I build according to the directions in
> mac-osx.txt.
> 
> cmake ../kicad -DUSE_WXGRAPHICS_CONTEXT=OFF
>                        -DUSE_WX_OVERLAY=ON
>                        -DKICAD_SCRIPTING=OFF
>                        -DKICAD_SCRIPTING_MODULES=OFF
>                        -DKICAD_SCRIPTING_WXPYTHON=OFF
>                        -DUSE_FP_LIB_TABLE=HARD_CODED_ON
>                        -DBUILD_GITHUB_PLUGIN=OFF
>                        -DCMAKE_INSTALL_PREFIX=./bin
>                        -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9
>                        -DwxWidgets_CONFIG_EXECUTABLE=../wx-bin/bin/wx-config
> 
> The error is:
> 
> Scanning dependencies of target netlist_lexer_source_files
> [ 36%] TokenList2DsnLexer.cmake creating:
>           /Volumes/Drobo/Projects/kicad-build/kicad/include/netlist_lexer.h
> and
>           /Volumes/Drobo/Projects/kicad-build/kicad/common/netlist_keywords.cpp
> from
>           /Volumes/Drobo/Projects/kicad-build/kicad/common/netlist.keywords
> [ 36%] Built target netlist_lexer_source_files
> Scanning dependencies of target common
> [ 36%] Building CXX object common/CMakeFiles/common.dir/colors.cpp.o
> In file included from
> /Volumes/Drobo/Projects/kicad-build/kicad/common/colors.cpp:25:
> In file included from
> /Volumes/Drobo/Projects/kicad-build/kicad/include/colors.h:28:
> In file included from
> /Volumes/Drobo/Projects/kicad-build/wx-bin/include/wx-3.0/wx/wx.h:15:
> In file included from
> /Volumes/Drobo/Projects/kicad-build/wx-bin/include/wx-3.0/wx/object.h:19:
> In file included from
> /Volumes/Drobo/Projects/kicad-build/wx-bin/include/wx-3.0/wx/memory.h:15:
> In file included from
> /Volumes/Drobo/Projects/kicad-build/wx-bin/include/wx-3.0/wx/string.h:46:
> /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.
> make[2]: *** [common/CMakeFiles/common.dir/colors.cpp.o] Error 1
> make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
> make: *** [all] Error 2
> 
> 
> 
> _______________________________________________
> 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



Follow ups

References