Hi,
I want to use wxPython, but I don't really succeed in installing it.
There is no problem with the ./configure; make; make install part of the root
dir of the package. But the wxPython/ part doesn't really work for me.
I tried on a Red Hat machine with gcc 2.96 and 3.2 and python 2.2. Didn't
work. Today I wanted to retry it, but the machine crashed while trying and is
dead now (supposedly the harddrive has broken down), so I can't give the
results of that here.
I also tried on a Debian machine with gcc 3.2 and python 2.1 and 2.2. This is
where it stops when I do a "python setup.py build":
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DSWIG_GLOBAL
- -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc
- -I/usr/local/include/python2.2 -c contrib/glcanvas/gtk/glcanvas.cpp -o
build/temp.linux-i686-2.2/contrib/glcanvas/gtk/glcanvas.o
- -I/usr/local/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__
- -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2
- -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
contrib/glcanvas/gtk/glcanvas.cpp: In function `void*
聽聽聽SwigwxGLContextTowxObject(void*)':
contrib/glcanvas/gtk/glcanvas.cpp:99: `wxGLContext' undeclared (first use this
聽聽聽function)
contrib/glcanvas/gtk/glcanvas.cpp:99: (Each undeclared identifier is reported
聽聽聽only once for each function it appears in.)
contrib/glcanvas/gtk/glcanvas.cpp:99: `src' undeclared (first use this
聽聽聽function)
contrib/glcanvas/gtk/glcanvas.cpp:101: parse error before `)' token
contrib/glcanvas/gtk/glcanvas.cpp: In function `PyObject*
聽聽聽_wrap_new_wxGLContext(PyObject*, PyObject*, PyObject*)':
contrib/glcanvas/gtk/glcanvas.cpp:109: `_result' undeclared (first use this
聽聽聽function)
contrib/glcanvas/gtk/glcanvas.cpp:111: `wxGLCanvas' undeclared (first use this
聽聽聽function)
...
and some more of this stuff...
What could be the problem? Something to with OpenGL?
bye,
Kasper