← Back to team overview

kicad-developers team mailing list archive

Re: Building under lenny fails

 

Dick Hollenbeck a écrit :

Karl Schmidt wrote:
Any hints?  :
...
make[3]: Entering directory `/root/kicad-0.0.20100314/build/kicad'
[ 0%] Building CXX object 3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.o In file included from /root/kicad-0.0.20100314/kicad/include/wxBasePcbFrame.h:12, from /root/kicad-0.0.20100314/kicad/include/pcbstruct.h:43, from /root/kicad-0.0.20100314/kicad/3d-viewer/3d_viewer.h:24, from /root/kicad-0.0.20100314/kicad/3d-viewer/3d_aux.cpp:22: /root/kicad-0.0.20100314/kicad/include/wxstruct.h:701: error: expected class-name before ‘{’ token /root/kicad-0.0.20100314/kicad/include/wxstruct.h: In member function ‘bool
WinEDA_Toolbar::GetToolState(int)’:
/root/kicad-0.0.20100314/kicad/include/wxstruct.h:711: error: ‘GetToolToggled’ was not declared in
this scope
/root/kicad-0.0.20100314/kicad/include/wxstruct.h: In member function ‘void WinEDA_Toolbar::AddRadioTool(int, const wxString&, const wxBitmap&, const wxBitmap&, const
wxString&, const wxString&, wxObject*)’:
/root/kicad-0.0.20100314/kicad/include/wxstruct.h:722: error: ‘AddTool’ was not declared in this scope
make[3]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/3d_aux.cpp.o] Error 1
make[3]: Leaving directory `/root/kicad-0.0.20100314/build/kicad'
make[2]: *** [3d-viewer/CMakeFiles/3d-viewer.dir/all] Error 2
make[2]: Leaving directory `/root/kicad-0.0.20100314/build/kicad'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/kicad-0.0.20100314/build/kicad'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Build command 'cd kicad-0.0.20100314 && dpkg-buildpackage -b -uc' failed.
E: Child process failed


My build options are stock:

cat apt-build.conf
build-dir = /var/cache/apt-build/build
repository-dir = /var/cache/apt-build/repository
Olevel = -O2
mtune = -mtune=x86-64
options = " "
make_options = " "


No idea. What we know and love here is CMake and the REPO head. I see dpkg-buildpackage, and I'm thinking this may be a question for your package maintainer.

Anybody else?

If not, try Repo head and CMake.


Dick


Your build seems fail at line 700 (error line 701, coming from line 700):
class WinEDA_Toolbar : public wxAuiToolBar
{

If "wxAuiToolBar" definition is the problem, this could be due to wxWidgets built with AUI option disabled.
(must be enabled to build kicad)


JP Charras




References