← Back to team overview

kicad-developers team mailing list archive

recent build problem latest bazaar version

 

Clean build today (just did a bzr pull)
configure flags used :

cmake ../ -DKICAD_TESTING_VERSION=ON -DKICAD_SCRIPTING=ON
-DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON
-DCMAKE_BUILD_TYPE=Debug

$ make

[ 41%] Building CXX object common/CMakeFiles/common.dir/worksheet.cpp.o
In file included from /home/oetelaar/kicad_dev/kicad/common/worksheet.cpp:55:
/home/oetelaar/kicad_dev/kicad/common/title_block_shapes.h: In member
function ‘void WS_DRAW_ITEM_LIST::BuildWorkSheetGraphicList(const
wxString&, const wxString&, const wxString&, const TITLE_BLOCK&, int,
int, EDA_COLOR_T, EDA_COLOR_T)’:
/home/oetelaar/kicad_dev/kicad/common/title_block_shapes.h:326: error:
no match for ‘operator-’ in
‘((WS_DRAW_ITEM_LIST*)this)->WS_DRAW_ITEM_LIST::m_pageSize -
((WS_DRAW_ITEM_LIST*)this)->WS_DRAW_ITEM_LIST::m_RBmargin’
/usr/include/wx-2.8/wx/gdicmn.h:223: note: candidates are: wxSize
wxSize::operator-(const wxSize&) const
/usr/include/wx-2.8/wx/geometry.h:462: note:
wxPoint2DDouble operator-(const wxPoint2DDouble&, const
wxPoint2DDouble&)
/usr/include/wx-2.8/wx/geometry.h:233: note:
wxPoint2DInt operator-(const wxPoint2DInt&, const wxPoint2DInt&)
/usr/include/wx-2.8/wx/longlong.h:1062: note:
wxLongLong operator-(long unsigned int, const wxULongLong&)
/usr/include/wx-2.8/wx/longlong.h:1048: note:
wxLongLong operator-(long int, const wxLongLong&)
make[2]: *** [common/CMakeFiles/common.dir/worksheet.cpp.o] Error 1
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2


Follow ups