compiling wxPython

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

compiling wxPython

Apostolos Syropoulos
Hello,

I have tried to compile wxPython under openIndiana and compilation stops with a strange error message,
I have used the following command to compile

$ python build-wxpython.py --build_dir=../../XXX

and the error message I got follows:

gcc64 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/gnu/include/wx-3.1 -Wno-error=format-security -I/opt/gnu/include/wx-3.1 -Wno-error=format-security -fPIC -DPIC -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DSWIG_PYTHON_SILENT_MEMLEAK -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -D_REENTRANT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_PTHREADS -Iinclude -Isrc -I/container/source/var/XXX/lib/wx/include/gtk2-unicode-3.0 -I/container/source/var/wxPython-src-3.0.2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/amd64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/amd64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/amd64/glib-2.0/include -I/usr/include/python2.7 -c src/gtk/_core_wrap.cpp -o build/temp.solaris-2.11-i86pc.64bit-2.7/src/gtk/_core_wrap.o -pthreads -O3
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
src/gtk/_core_wrap.cpp: In function ‘void PySwigObject_dealloc(PyObject*)’:
src/gtk/_core_wrap.cpp:1447:19: warning: unused variable ‘name’ [-Wunused-variable]
       const char *name = SWIG_TypePrettyName(ty);
                   ^
src/gtk/_core_wrap.cpp: In function ‘bool wxEvtHandler_Disconnect(wxEvtHandler*, int, int, wxEventType, PyObject*)’:
src/gtk/_core_wrap.cpp:3955:61: error: ‘class wxEvtHandler’ has no member named ‘GetDynamicEventTable’
                 wxList::compatibility_iterator node = self->GetDynamicEventTable()->GetFirst();
                                                             ^
src/gtk/_core_wrap.cpp:3972:35: error: ‘class wxEvtHandler’ has no member named ‘GetDynamicEventTable’
                             self->GetDynamicEventTable()->Erase(node);
                                   ^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Window_SetVirtualSizeHints(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:39615:13: error: ‘class wxWindow’ has no member named ‘SetVirtualSizeHints’
     (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
             ^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Window_SetVirtualSizeHintsSz(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:39661:13: error: ‘class wxWindow’ has no member named ‘SetVirtualSizeHints’
     (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
             ^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Window_MakeModal(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:41131:13: error: ‘class wxWindow’ has no member named ‘MakeModal’
     (arg1)->MakeModal(arg2);
             ^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Window_SetHelpTextForId(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:46087:13: error: ‘class wxWindow’ has no member named ‘SetHelpTextForId’
     (arg1)->SetHelpTextForId((wxString const &)*arg2);
             ^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Validator_SetBellOnError(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:47520:5: error: ‘SetBellOnError’ is not a member of ‘wxValidator’
     wxValidator::SetBellOnError(arg1);
     ^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerItem_SetWindow(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:61364:13: error: ‘class wxSizerItem’ has no member named ‘SetWindow’
     (arg1)->SetWindow(arg2);
             ^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerItem_SetSizer(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:61400:13: error: ‘class wxSizerItem’ has no member named ‘SetSizer’
     (arg1)->SetSizer(arg2);
             ^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_SizerItem_SetSpacer(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:61436:13: error: ‘class wxSizerItem’ has no member named ‘SetSpacer’
     (arg1)->SetSpacer((wxSize const &)*arg2);
             ^
src/gtk/_core_wrap.cpp: In function ‘PyObject* _wrap_Sizer_SetVirtualSizeHints(PyObject*, PyObject*, PyObject*)’:
src/gtk/_core_wrap.cpp:63369:13: error: ‘class wxSizer’ has no member named ‘SetVirtualSizeHints’
     (arg1)->SetVirtualSizeHints(arg2);
             ^
src/gtk/_core_wrap.cpp: In function ‘void init_core_()’:
src/gtk/_core_wrap.cpp:75888:78: error: ‘wxBK_BUTTONBAR’ was not declared in this scope
   SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
                                                                              ^
error: command 'gcc64' failed with exit status 1
ERROR: failed building wxPython.

Any suggestions and/or comments that may help me to resolve this problem will be appreciated.

Regards,

Apostolos

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...