You can use the cmake option -DKICAD_SKIP_BOOST=ON  to fix this issue.
Make sure this only happens for systems with boost version above 1.54.

2015-08-10 13:03 GMT+02:00 Martin Pitt <[email protected]>:
> Package: kicad
> Severity: serious
> Version: 0.20141025+bzr4029-2
>
> kicad fails due to tons of error messages in current sid, e. g.
>
> | In file included from 
> /«BUILDDIR»/kicad-0.20141025+bzr4029/include/boost/polygon/polygon_set_data.hpp:1003:0,
> |                  from 
> /«BUILDDIR»/kicad-0.20141025+bzr4029/include/boost/polygon/polygon.hpp:81,
> |                  from 
> /«BUILDDIR»/kicad-0.20141025+bzr4029/common/../polygon/polygons_defs.h:9,
> |                  from 
> /«BUILDDIR»/kicad-0.20141025+bzr4029/common/../polygon/PolyLine.h:23,
> |                  from 
> /«BUILDDIR»/kicad-0.20141025+bzr4029/common/../pcbnew/class_pad.h:37,
> |                  from 
> /«BUILDDIR»/kicad-0.20141025+bzr4029/common/footprint_info.cpp:22:
> | 
> /«BUILDDIR»/kicad-0.20141025+bzr4029/include/boost/polygon/polygon_set_concept.hpp:281:91:
>  error: 'itr' was not declared in this scope
> |      for(typename std::list<polygon_with_holes_data<Unit> >::iterator itr = 
> polys.begin(); itr != polys.end(); itr = itr_nxt){
> |                                                                             
>                ^
> | 
> /«BUILDDIR»/kicad-0.20141025+bzr4029/include/boost/polygon/polygon_set_concept.hpp:281:117:
>  error: 'itr_nxt' was not declared in this scope
> |      for(typename std::list<polygon_with_holes_data<Unit> >::iterator itr = 
> polys.begin(); itr != polys.end(); itr = itr_nxt){
>                                                                               
>                                        ^
>
> Apparently this needs to be adjusted to the current boost?
>
> Thanks,
>
> Martin
>
> --
> Martin Pitt                        | http://www.piware.de
> Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Reply via email to