← Back to team overview

kicad-developers team mailing list archive

Re: Digest Number 13


According to the wxwidgets documentation, GetCurrentSelection was added in version 2.6.2 . The most recent Debian package has wxwidgets 2.6.1, which does not have GetCurrentSelection.

I had to uninstall the Debian packages and compile wxwidgets 2.6.2 from source.

Mitch Bradley

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


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:

-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



Yahoo! Groups Links