← Back to team overview

kicad-developers team mailing list archive

Re: Building under lenny fails


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
/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 = " "


I tried to find out which version of g++ and wxWidgets you are using, could not. Please tell.

What does lenny correspond to?  testing, stable, what?