← Back to team overview

kicad-developers team mailing list archive

Kicad BZR 3591 not compiling

 

Below errors. Any help?

Thanks,

Fabio

----

[ 79%] Building CXX object pcbnew/CMakeFiles/pcbnew.dir/board_items_to_polygon_shape_transform.cpp.o

In file included from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/transform.hpp:499:0,

from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon.hpp:24, from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/pcbnew/./polygons_defs.h:9, from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/pcbnew/board_items_to_polygon_shape_transform.cpp:11: /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/detail/transform_detail.hpp: In member function ‘boost::polygon::axis_transformation& boost::polygon::axis_transformation::set_directions(const boost::polygon::direction_3d&, const boost::polygon::direction_3d&, const boost::polygon::direction_3d&)’: /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/detail/transform_detail.hpp:257:47: warning: narrowing conversion of ‘(& horizontalDir)->boost::polygon::direction_3d::to_int()’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing] /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/detail/transform_detail.hpp:258:45: warning: narrowing conversion of ‘(& verticalDir)->boost::polygon::direction_3d::to_int()’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing] /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/detail/transform_detail.hpp:259:45: warning: narrowing conversion of ‘(& proximalDir)->boost::polygon::direction_3d::to_int()’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Wnarrowing] In file included from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon.hpp:64:0, from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/pcbnew/./polygons_defs.h:9, from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/pcbnew/board_items_to_polygon_shape_transform.cpp:11: /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon_90_set_data.hpp: In instantiation of ‘void boost::polygon::polygon_90_set_data<T>::sort() const [with T = int]’: /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon_45_set_data.hpp:1678:7: required from ‘void boost::polygon::polygon_45_set_data<Unit>::applyAdaptiveUnary_() const [with int op = 0; Unit = int]’ /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon_45_set_data.hpp:1220:7: required from ‘bool boost::polygon::polygon_45_set_data<Unit>::clean() const [with Unit = int]’ /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/detail/polygon_set_view.hpp:24:9: required from ‘void boost::polygon::polygon_set_data<T>::clean() const [with T = int]’ /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon_set_concept.hpp:57:7: required from ‘typename boost::enable_if<typename boost::polygon::gtl_and<typename boost::polygon::is_mutable_polygon_set_type<polygon_set_type_1>::type, typename boost::polygon::is_any_polygon_set_type<polygon_set_type_2>::type>::type, polygon_set_type_1>::type& boost::polygon::assign(polygon_set_type_1&, const polygon_set_type_2&) [with polygon_set_type_1 = boost::polygon::polygon_set_data<int>; polygon_set_type_2 = std::vector<boost::polygon::polygon_data<int> >; typename boost::enable_if<typename boost::polygon::gtl_and<typename boost::polygon::is_mutable_polygon_set_type<polygon_set_type_1>::type, typename boost::polygon::is_any_polygon_set_type<polygon_set_type_2>::type>::type, polygon_set_type_1>::type = boost::polygon::polygon_set_data<int>]’ /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon_set_concept.hpp:183:5: required from ‘typename boost::enable_if<typename boost::polygon::is_mutable_polygon_set_type<polygon_set_type_1>::type, polygon_set_type>::type& boost::polygon::resize(polygon_set_type&, coord_type, bool, int) [with polygon_set_type = std::vector<boost::polygon::polygon_data<int> >; coord_type = int; typename boost::enable_if<typename boost::polygon::is_mutable_polygon_set_type<polygon_set_type_1>::type, polygon_set_type>::type = std::vector<boost::polygon::polygon_data<int> >]’ /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon_set_concept.hpp:452:33: required from ‘typename boost::enable_if<typename boost::polygon::gtl_and_3<boost::polygon::operators::y_ps_rpe, typename boost::polygon::is_mutable_polygon_set_type<polygon_set_type_1>::type, typename boost::polygon::gtl_same_type<typename boost::polygon::geometry_concept<T2>::type, boost::polygon::coordinate_concept>::type>::type, geometry_type_1>::type& boost::polygon::operators::operator+=(geometry_type_1&, coordinate_type_1) [with geometry_type_1 = std::vector<boost::polygon::polygon_data<int> >; coordinate_type_1 = int; typename boost::enable_if<typename boost::polygon::gtl_and_3<boost::polygon::operators::y_ps_rpe, typename boost::polygon::is_mutable_polygon_set_type<polygon_set_type_1>::type, typename boost::polygon::gtl_same_type<typename boost::polygon::geometry_concept<T2>::type, boost::polygon::coordinate_concept>::type>::type, geometry_type_1>::type = std::vector<boost::polygon::polygon_data<int> >]’ /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/pcbnew/board_items_to_polygon_shape_transform.cpp:195:33: required from here /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon_90_set_data.hpp:299:9: error: ‘gtlsort’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] In file included from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/detail/scan_arbitrary.hpp:13:0, from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon_set_data.hpp:929, from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/polygon.hpp:82, from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/pcbnew/./polygons_defs.h:9, from /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/pcbnew/board_items_to_polygon_shape_transform.cpp:11: /home/fabio/Programs/kicad-arch/kicad-bzr/src/kicad/include/boost/polygon/detail/polygon_sort_adaptor.hpp:58:10: note: ‘template<class iter_type, class pred_type> void boost::polygon::gtlsort(iter_type, iter_type, const pred_type&)’ declared here, later in the translation unit make[2]: *** [pcbnew/CMakeFiles/pcbnew.dir/board_items_to_polygon_shape_transform.cpp.o] Error 1
make[1]: *** [pcbnew/CMakeFiles/pcbnew.dir/all] Error 2
make: *** [all] Error 2


Follow ups