← Back to team overview

kicad-developers team mailing list archive

Re: kicad does not compile anymore, could it be my setup? (too old)

 

On Thu, May 02, 2013 at 07:31:11PM +0200, Edwin van den Oetelaar wrote:
> [ 47%] Building CXX object
> cvpcb/CMakeFiles/cvpcb.dir/__/pcbnew/board_items_to_polygon_shape_transform.cpp.o
> /home/oetelaar/kicad_dev/kicad/cvpcb/../pcbnew/class_drawsegment.h: In
> member function ‘void
> MODULE::TransformGraphicShapesWithClearanceToPolygonSet(LAYER_NUM,
> std::vector<CPolyPt, std::allocator<CPolyPt> >&, int, int, double)’:
> /home/oetelaar/kicad_dev/kicad/cvpcb/../pcbnew/class_drawsegment.h:53:
> error: ‘STROKE_T DRAWSEGMENT::m_Shape’ is protected
> /home/oetelaar/kicad_dev/kicad/pcbnew/board_items_to_polygon_shape_transform.cpp:146:
> error: within this context
> make[2]: *** [cvpcb/CMakeFiles/cvpcb.dir/__/pcbnew/board_items_to_polygon_shape_transform.cpp.o]
> Error 1
> make[1]: *** [cvpcb/CMakeFiles/cvpcb.dir/all] Error 2
> make: *** [all] Error 2

Already fixed. A debug assertion was asking for a member that became
protected. Simply put GetShape() instead of m_Shape

-- 
Lorenzo Marcantonio
Logos Srl


Follow ups

References