[OSX] Build from stable sources fails on 10.9

Bug #1264880 reported by Wayne Rossberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Marco Serantoni

Bug Description

Trying to build from stable sources tar ball obtained on 22-DEC-2013 on OS X 10.9.1 using the 10.9 SDK, I get a cascade of errors starting with:

[ 49%] Building CXX object common/CMakeFiles/pcbcommon.dir/footprint_info.cpp.o
In file included from /Users/wrossberg/kits/kicad/stable/common/footprint_info.cpp:22:
In file included from /Users/wrossberg/kits/kicad/stable/common/../pcbnew/class_pad.h:34:
In file included from /Users/wrossberg/kits/kicad/stable/include/class_board_item.h:35:
/Users/wrossberg/kits/kicad/stable/include/gr_basic.h:260:55: error: too few template arguments for class template 'vector'
void GRLineArray( EDA_RECT* aClipBox, wxDC* aDC,std::vector<wxPoint>& aLines
/Users/wrossberg/kits/kicad/stable/include/boost/detail/container_fwd.hpp:140:47: note: template is declared here
    template <class T, class Allocator> class vector;

Several other errors similar to this are reported, but other errors of different type are also reported like:

...
/Users/wrossberg/kits/kicad/stable/include/boost/polyfgon/polygon_45_data.hpp:19:63: error: expected a qualified name after 'typename'
  typedef typename std::vector<point_data_<coordinate_type> >:: const_iterator iterator_type;

If more info is required, please let know.

Revision history for this message
Wayne Rossberg (mach1-v) wrote :
Revision history for this message
Marco Serantoni (marco-serantoni) wrote :

Try to document better what's happening with
make VERBOSE=1

Changed in kicad:
assignee: nobody → Marco Serantoni (marco-serantoni)
Revision history for this message
Wayne Rossberg (mach1-v) wrote :

Attached is the output from:

make VERBOSE=1

Revision history for this message
Marco Serantoni (marco-serantoni) wrote :

replace
-mmacosx-version-min=10.9
with
-mmacosx-version-min=10.5

Will change the behaviour of the compiler.

Revision history for this message
Marco Serantoni (marco-serantoni) wrote :

Uh and report here to close the ticket.

Revision history for this message
Marco Serantoni (marco-serantoni) wrote :

This issue is due new COMPILER, (LLVM, code was written for GCC).
That switch enables you to use:
More Platforms (that doesn't interests you in this case)
Switch C++ STL from LLVM to GNU (the issue in this case)

You will not loose any feature ;)

For more informations:
http://stackoverflow.com/questions/2923502/what-does-macosx-version-min-imply

Revision history for this message
Wayne Rossberg (mach1-v) wrote :

That seems to have fixed the problem. The build completed, but I haven't try to run it yet. If I have any further problems I'll open a new bug report.

Thanks for the help.

Changed in kicad:
importance: Undecided → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.