← Back to team overview

kicad-developers team mailing list archive

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

 

Confirmed,
it compiles in Debug too.
Greetings, and thanks,
Edwin van den Oetelaar

2013/5/2 Lorenzo Marcantonio <l.marcantonio@xxxxxxxxxxxx>:
> 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
>
> _______________________________________________
> 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


References