LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wxPython Build Error (http://www.linuxquestions.org/questions/linux-newbie-8/wxpython-build-error-186272/)

slacklinux 05-26-2004 06:35 PM

wxPython Build Error
 
I am trying to install wxPython so I can use the Bit Torrent GUI, but when I build it gives error messages

Here are the error messages I picked out. (These were repeated alot)

Code:

invalid use of undefined type `struct wxWindow'

forward declaration of `struct wxWindow'

cannot convert `wxMenu*' to `wxObject*' for argument
  `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'

 warning: `wxFont* New(const wxString&)'declared `static' but never defined

error: command 'gcc' failed with exit status 1

I have tried maany different options, but still nothing

edit: I am on slackware 9.1

Dark_Helmet 05-26-2004 06:41 PM

What is the first error that the compiler spits out? It sounds to me like a header (definition) file is not being included as it should. In fact, paste the output here if you can starting with the very first discernible error.

slacklinux 05-26-2004 07:10 PM

Code:

src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Create(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1101: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Center(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1133: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Centre(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1162: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_CentreOnParent(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1191: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_CenterOnParent(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1220: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_CentreOnScreen(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1249: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_CenterOnScreen(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1278: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Clear(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1306: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_ClientToScreenXY(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1348: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_ClientToScreen(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1396: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Close(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1426: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Destroy(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1454: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_DestroyChildren(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1481: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_IsBeingDeleted(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1510: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Enable(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1540: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_FindWindowById(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1570: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:1574: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_FindWindowByName(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1605: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:1609: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Fit(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1636: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_FitInside(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1664: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetBackgroundColour(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1694: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:1694: invalid use of undefined type `struct wxColour'
/usr/local/include/wx/gdicmn.h:37: forward declaration of `struct wxColour'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_GetBorder(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:1723: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* wxWindow_GetChildren(wxWindow*)':
src/gtk/windows.cpp:1732: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetCharHeight(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1784: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetCharWidth(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1812: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetClientSizeTuple(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1849: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetClientSize(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1889: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetClientAreaOrigin(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1919: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetClientRect(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1949: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetConstraints(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:1979: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetEventHandler(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2013: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_GetFont(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2042: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:2042: invalid use of undefined type `struct wxFont'
/usr/local/include/wx/font.h:33: forward declaration of `struct wxFont'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetForegroundColour(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2072: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:2072: invalid use of undefined type `struct wxColour'
/usr/local/include/wx/gdicmn.h:37: forward declaration of `struct wxColour'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetGrandParent(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2101: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:2105: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_GetId(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2159: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_GetLabel(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2187: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_SetLabel(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2230: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_GetName(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2263: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_GetParent(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2300: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:2304: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetPositionTuple(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2337: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetPosition(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2377: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_GetRect(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2407: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetScrollThumb(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2437: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetScrollPos(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2466: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetScrollRange(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2495: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetSizeTuple(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2532: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_GetSize(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2572: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetTextExtent(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2617: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetFullTextExtent(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2695: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_GetTitle(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2748: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetUpdateRegion(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2786: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:2786: invalid use of undefined type `struct wxRegion'
/usr/local/include/wx/gdicmn.h:43: forward declaration of `struct wxRegion'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetWindowStyleFlag(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2815: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_SetWindowStyleFlag(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2843: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_SetWindowStyle(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2872: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_HasScrollbar(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2902: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Hide(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2930: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_HitTest(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:2966: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_InitDialog(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:2993: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_IsEnabled(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3022: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_IsExposed(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3054: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_IsExposedPoint(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3090: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_IsExposedRect(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3126: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_IsRetained(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3154: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_IsShown(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3182: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_IsTopLevel(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3210: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Layout(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3237: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Lower(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3265: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_MakeModal(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3296: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_MoveXY(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3327: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Move(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3364: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_PopEventHandler(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3396: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_PushEventHandler(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3432: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_RemoveEventHandler(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3470: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_PopupMenuXY(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3509: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_PopupMenu(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3554: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Raise(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3581: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Refresh(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3621: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_RefreshRect(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3657: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_AddChild(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3694: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_RemoveChild(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3731: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_Reparent(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:3769: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_ScreenToClientXY(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3810: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_ScreenToClient(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3858: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_ScrollWindow(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3897: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_SetAutoLayout(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3928: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetAutoLayout(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3957: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_SetBackgroundColour(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:3971: aggregate `wxColour temp' has incomplete type and
  cannot be defined
src/gtk/windows.cpp:3992: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_SetConstraints(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:4029: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_UnsetConstraints(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:4066: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_SetFocus(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:4094: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_SetFocusFromKbd(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:4122: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_AcceptsFocus(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:4151: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_SetFont(PyObject*,
  PyObject*, PyObject*)':

Its too long so I have to make another post

slacklinux 05-26-2004 07:14 PM

Code:

src/gtk/windows.cpp:6172: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_PageUp(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:6200: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_PageDown(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:6228: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxWindow_FindFocus(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:6246: no method `wxWindow::FindFocus'
src/gtk/windows.cpp:6250: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_NewControlId(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6264: no method `wxWindow::NewControlId'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_NextControlId(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6283: no method `wxWindow::NextControlId'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_PrevControlId(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6302: no method `wxWindow::PrevControlId'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_SetAcceleratorTable(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6314: `wxAcceleratorTable' undeclared (first use this
  function)
src/gtk/windows.cpp:6314: `_arg1' undeclared (first use this function)
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetAcceleratorTable(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6349: `_result' undeclared (first use this function)
src/gtk/windows.cpp:6367: syntax error before `)' token
src/gtk/windows.cpp:6367: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetDefaultItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6401: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:6405: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_SetDefaultItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6438: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp:6442: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_SetTmpDefaultItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6474: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_WarpPointer(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6504: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_CaptureMouse(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6532: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_ReleaseMouse(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6560: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_GetCapture(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6579: no method `wxWindow::GetCapture'
src/gtk/windows.cpp:6583: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxWindow_HasCapture(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:6607: invalid use of undefined type `struct wxWindow'
/usr/local/include/wx/utils.h:44: forward declaration of `struct wxWindow'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxScrolledWindow_GetTargetWindow(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:7158: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxScrolledWindow_IsRetained(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:7182: no matching function for call to `wxScrolledWindow::
  IsRetained()'
src/gtk/windows.cpp: In function `PyObject* _wrap_new_wxMenu(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:7791: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_Append(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:7845: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_AppendMenu(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:7906: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_AppendItem(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:7927: `wxMenuItem' undeclared (first use this function)
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_AppendCheckItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:7995: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_AppendRadioItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:8047: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_AppendSeparator(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:8083: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_Insert(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8129: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_InsertSeparator(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:8166: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_InsertCheckItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:8211: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_InsertRadioItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:8264: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_InsertMenu(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8326: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_InsertItem(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8349: `_arg2' undeclared (first use this function)
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_Prepend(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8417: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_PrependSeparator(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:8453: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_PrependCheckItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:8497: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_PrependRadioItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:8549: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_PrependMenu(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8610: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_Break(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8683: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_Check(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8715: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_IsChecked(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8745: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_Enable(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8776: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_IsEnabled(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8806: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_FindItem(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8841: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_FindItemById(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:8874: syntax error before `)' token
src/gtk/windows.cpp:8874: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_GetTitle(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8902: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_SetTitle(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8945: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_GetLabel(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:8979: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_SetLabel(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9023: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_GetHelpString(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:9057: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_SetHelpString(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:9101: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_UpdateUI(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9142: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_Delete(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9172: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_Remove(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9238: syntax error before `)' token
src/gtk/windows.cpp:9238: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_RemoveItem(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9275: syntax error before `)' token
src/gtk/windows.cpp: In function `void wxMenu_Destroy(wxMenu*)':
src/gtk/windows.cpp:9283: `self' has incomplete type
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_DestroyId(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9332: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_GetMenuItemCount(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:9397: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* wxMenu_GetMenuItems(wxMenu*)':
src/gtk/windows.cpp:9406: `wxMenuItemList' undeclared (first use this function)
src/gtk/windows.cpp:9406: `list' undeclared (first use this function)
src/gtk/windows.cpp:9406: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_SetEventHandler(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:9466: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_GetEventHandler(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:9495: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_SetInvokingWindow(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:9531: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenu_GetInvokingWindow(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:9560: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp:9564: cannot convert `wxWindow*' to `wxObject*' for
  argument `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_GetStyle(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9588: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_IsAttached(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9616: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_SetParent(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9652: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenu_GetParent(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9681: invalid use of undefined type `struct wxMenu'
/usr/local/include/wx/event.h:38: forward declaration of `struct wxMenu'
src/gtk/windows.cpp:9685: cannot convert `wxMenu*' to `wxObject*' for argument
  `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject* _wrap_new_wxMenuBar(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9726: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_Append(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9776: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_Insert(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9825: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_GetMenuCount(PyObject*, PyObject*, PyObject*)':


slacklinux 05-26-2004 07:15 PM

The rest
Code:

src/gtk/windows.cpp:9857: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_GetMenu(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9886: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp:9890: cannot convert `wxMenu*' to `wxObject*' for argument
  `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_Replace(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9931: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp:9935: cannot convert `wxMenu*' to `wxObject*' for argument
  `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_Remove(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:9964: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp:9968: cannot convert `wxMenu*' to `wxObject*' for argument
  `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_EnableTop(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:9995: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_IsEnabledTop(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10025: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_SetLabelTop(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10060: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_GetLabelTop(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10094: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_FindMenu(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:10138: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_FindMenuItem(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10184: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_FindItemById(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10221: syntax error before `)' token
src/gtk/windows.cpp:10221: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_Enable(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:10252: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_Check(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:10284: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_IsChecked(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10314: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_IsEnabled(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10343: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_SetLabel(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:10378: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuBar_GetLabel(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:10412: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_SetHelpString(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10456: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuBar_GetHelpString(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10490: invalid use of undefined type `struct wxMenuBar'
/usr/local/include/wx/frame.h:31: forward declaration of `struct wxMenuBar'
src/gtk/windows.cpp: In function `void* SwigwxMenuItemTowxObject(void*)':
src/gtk/windows.cpp:10508: `src' undeclared (first use this function)
src/gtk/windows.cpp:10510: syntax error before `)' token
src/gtk/windows.cpp: In function `PyObject* _wrap_new_wxMenuItem(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:10563: syntax error before `)' token
src/gtk/windows.cpp:10563: syntax error before `(' token
src/gtk/windows.cpp: In function `PyObject* _wrap_wxMenuItem_GetMenu(PyObject*,
  PyObject*, PyObject*)':
src/gtk/windows.cpp:10589: `_arg0' undeclared (first use this function)
src/gtk/windows.cpp:10609: cannot convert `wxMenu*' to `wxObject*' for argument
  `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuItem_GetSubMenu(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:10985: cannot convert `wxMenu*' to `wxObject*' for argument
  `1' to `PyObject* wxPyMake_wxObject(wxObject*, bool)'
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuItem_GetAccel(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:11212: `wxAcceleratorEntry' undeclared (first use this
  function)
src/gtk/windows.cpp:11230: syntax error before `)' token
src/gtk/windows.cpp: In function `PyObject*
  _wrap_wxMenuItem_GetLabelFromText(PyObject*, PyObject*, PyObject*)':
src/gtk/windows.cpp:11298: syntax error before `::' token
src/gtk/windows.cpp: At top level:
/usr/local/include/wx/font.h:95: warning: `wxFont* New(int, int, int, int,
  bool, const wxString&, wxFontEncoding)' declared `static' but never defined
/usr/local/include/wx/font.h:98: warning: `wxFont* New(const wxNativeFontInfo&)
  ' declared `static' but never defined
/usr/local/include/wx/font.h:101: warning: `wxFont* New(const wxString&)'
  declared `static' but never defined
/usr/local/include/wx/font.h:151: warning: `void
  SetDefaultEncoding(wxFontEncoding)' declared `static' but never defined
error: command 'gcc' failed with exit status 1


Dark_Helmet 05-26-2004 08:09 PM

Ok, I was hoping there would be a more descriptive first error displayed.

So, I went to download the package and test it out. So I snagged it from freshmeat.net, and uncompressed it. There was a README.1st.txt that referenced build and install instructions in the wxPython/doc directory. In order, this is what I issued to compile the package successfully:

Code:

$ tar xvzf ~/downloads/wxPythonSrc-2.5.1.5.tar.gz
$ cd wxPythonSrc-2.5.1.5/
$ mkdir bld
$ cd bld
$ ../configure --prefix=/opt/wx/2.5 --with-gtk \
                                    --with-opengl \
                                    --disable-monolithic \
                                    --enable-debug \
                                    --enable-geometry \
                                    --enable-sound --with-sdl \
                                    --enable-display --enable-gtk2 \
                                    --enable-unicode --with-libjpeg=builtin \
                                    --with-libpng=builtin \
                                    --with-libtiff=builtin \
                                    --with-zlib=builtin
$ make &&
> make -C contrib/src/gizmos &&
> make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" &&
> make -C contrib/src/stc &&
> make -C contrib/src/xrc

Those commands were taken almost verbatim from the wxPython/docs/BUILD.txt file. The configure and make commands went perfectly smoothly on my end. Does your system have any special concerns that you needed to tweak the commands for? I'm not trying to be difficult; just trying to help pinpoint where the trouble might be since I can't replicate it.

slacklinux 05-26-2004 08:13 PM

Ok. I did it that way and all went well. I did a make install after all of that.
I went to run a demo file with

Code:

python run.py
And I get the following message

Code:

File "run.py", line 20, in ?
    import wx                  # This module uses the new wx namespace
ImportError: No module named wx


Dark_Helmet 05-26-2004 09:32 PM

Unfortunately I didn't fully install the package, but according to the documentation, this would be the command to run (from within the bld directory):
Code:

$ make install &&
> make -C contrib/src/gizmos install &&
> make -C contrib/src/ogl CXXFLAGS="-DwxUSE_DEPRECATED=0" install &&
> make -C contrib/src/stc install &&
> make -C contrib/src/xrc install

I did notice that later in the docs, they mentioned an install script similar to what you had mentioned earlier, but I couldn't tell it it was meant as an alternative to the instructions in BUILD.txt or to run it and the commands I posted earlier. The docs gave this example for the script:
Code:

python2.3 setup.py install
I'm assuming you'd have to run that from within the wxPython directory, but the docs don't specify exactly. If neither of those work for you, I'm not sure what else to try.

slacklinux 05-26-2004 11:12 PM

It didnt work, I am going to install QTorrent instead of worrying with Bit Tornado, but anyway thanks for all the help man


All times are GMT -5. The time now is 07:15 PM.