Could you check you wxWidgets version ?
I think Kicad requires wxWidgets-2.6 and it seems this error occurs with
wxWidgets < 2.6.
For example, with Gentoo, all makefiles must be edited to replace wx-config by
wx-config-2.6
Frederic
Le Vendredi 17 Février 2006 22:19, Bryan Stillwell a écrit :
I just updated the BerliOS subversion repository with the latest
release from Jeane-Pierre. However, I'm having a problem getting it to
compile. Here's the error message I'm getting:
g++ -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA -Wall -O2 -DPCBNEW
-I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6
-Iinclude -Icommon -Ipcbnew -c -o 3d-viewer/3d_aux.o 3d-viewer/3d_aux.cpp
include/wxstruct.h:1483: error: default argument missing for parameter 5 of
'WinEDAChoiceBox::WinEDAChoiceBox(wxWindow*, wxWindowID, const wxPoint&,
const wxSize&, const wxArrayString&)' include/wxstruct.h: In member
function 'int WinEDAChoiceBox::GetChoice()': include/wxstruct.h:1490:
error: 'GetCurrentSelection' was not declared in this scope
For the second error message, I can't find any reference to
GetCurrentSelection except in include/wxstruct.h:
kicad-sources-2006-01-19$ grep -ri GetCurrentSelection *
include/wxstruct.h: return GetCurrentSelection();
Any ideas? My development enviroment is an x86_64 box with Debian sid
installed.
Thanks,
Bryan
________________________________________________________________________
________________________________________________________________________
------------------------------------------------------------------------
Yahoo! Groups Links
------------------------------------------------------------------------