wx python install issue

hi

i am a newbie to python and python wx … while trying to install wxpython using the latest source code
on Fedora Core 6 this error was encountered …

contrib/glcanvas/gtk/glcanvas_wrap.cpp: In function ‘PyObject* _wrap_new_GLContext(PyObject*, PyObject*, PyObject*)’:

contrib/glcanvas/gtk/glcanvas_wrap.cpp:2738: error: ‘wxGLCanvas’ was not declared in this scope
contrib/glcanvas/gtk/glcanvas_wrap.cpp:2738: error: ‘arg1’ was not declared in this scope
contrib/glcanvas/gtk/glcanvas_wrap.cpp:2738: error: expected primary-expression before ‘)’ token

contrib/glcanvas/gtk/glcanvas_wrap.cpp:2738: error: expected `;’ before numeric constant
contrib/glcanvas/gtk/glcanvas_wrap.cpp:2739: error: ‘wxGLContext’ was not declared in this scope
contrib/glcanvas/gtk/glcanvas_wrap.cpp:2739: error: ‘arg2’ was not declared in this scope

contrib/glcanvas/gtk/glcanvas_wrap.cpp:2739: error: expected primary-expression before ‘)’ token
contrib/glcanvas/gtk/glcanvas_wrap.cpp:2739: error: expected `;’ before ‘__null’

the relevant file glcanvas.h is included but this error persists

can anyone help ?

···


Nishant Avasthi

Phone - +91-9322403371

Nishant Avasthi wrote:

hi

i am a newbie to python and python wx .. while trying to install wxpython using the latest source code
on Fedora Core 6 this error was encountered ...

contrib/glcanvas/gtk/glcanvas_wrap.cpp: In function 'PyObject* _wrap_new_GLContext(PyObject*, PyObject*, PyObject*)':
contrib/glcanvas/gtk/glcanvas_wrap.cpp:2738: error: 'wxGLCanvas' was not declared in this scope

wxWidgets configure didn't find what it needs to be able to build the wxGLCanvas class, so it turned it off. You can either install the needed libs and headers and build/install wxWidgets again, or you can tell wxPython to not to attempt to build that module by passing BUILD_GLCANVAS=0 on the setup.py command line.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!