I stopped in contrib

creating build/temp.darwin-7.3.0-Power_Macintosh-2.3/contrib/glcanvas/mac
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -D__WXDEBUG__ -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA -Iinclude -Isrc -I/oc/wx/2.5/lib/wx/include/macd-2.5 -I/oc/wx/2.5/include -I/oc/include/python2.3 -c contrib/glcanvas/mac/glcanvas_wrap.cpp -o build/temp.darwin-7.3.0-Power_Macintosh-2.3/contrib/glcanvas/mac/glcanvas_wrap.o -O3
contrib/glcanvas/mac/glcanvas_wrap.cpp:300: error: syntax error before `*'
    token
contrib/glcanvas/mac/glcanvas_wrap.cpp: In function `PyObject*
    _wrap_new_GLContext(PyObject*, PyObject*, PyObject*)':
contrib/glcanvas/mac/glcanvas_wrap.cpp:411: error: `wxGLCanvas' undeclared
    (first use this function)
contrib/glcanvas/mac/glcanvas_wrap.cpp:411: error: (Each undeclared identifier
    is reported only once for each function it appears in.)

     288 SWIGSTATICINLINE(int)
     289 SWIG_CheckBool(PyObject* obj)
     290 {
     291 SWIG_AsBool(obj);
     292 if (PyErr_Occurred()) {
     293 PyErr_Clear();
     294 return 0;
     295 } else {
     296 return 1;
     297 }
     298 }
     299
     300 wxGLContext *new_wxGLContext(bool isRGB,wxGLCanvas *win,wxPalette const &palette,wxGLContext const *other){
     301 AGLPixelFormat fmt; // TODO: How should this be initialized ?
     302 return new wxGLContext(fmt, win, palette, other);
     303 }

···

--
creativity is based on your neighbourhood.

Sascha Gresk wrote:

creating build/temp.darwin-7.3.0-Power_Macintosh-2.3/contrib/glcanvas/mac
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -D__WXDEBUG__ -D__WXMAC__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWX_PRECOMP -DNO_GCC_PRAGMA -Iinclude -Isrc -I/oc/wx/2.5/lib/wx/include/macd-2.5 -I/oc/wx/2.5/include -I/oc/include/python2.3 -c contrib/glcanvas/mac/glcanvas_wrap.cpp -o build/temp.darwin-7.3.0-Power_Macintosh-2.3/contrib/glcanvas/mac/ glcanvas_wrap.o -O3
contrib/glcanvas/mac/glcanvas_wrap.cpp:300: error: syntax error before `*'
   token
contrib/glcanvas/mac/glcanvas_wrap.cpp: In function `PyObject*
   _wrap_new_GLContext(PyObject*, PyObject*, PyObject*)':
contrib/glcanvas/mac/glcanvas_wrap.cpp:411: error: `wxGLCanvas' undeclared
   (first use this function)
contrib/glcanvas/mac/glcanvas_wrap.cpp:411: error: (Each undeclared identifier
   is reported only once for each function it appears in.)

wxWidgets build probably did not have the --with-opengl configure option. If you don't want it then you can add BUILD_GLCANVAS=0 to the setup.py command line.

···

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

Greetings all --

Just recently got 2.5.1 up and running on my laptap (Compaq Presario 710US
-- a 1.2 Ghz Duron thingy), Mandrake 9.2 distro, Python 2.3.3.

In general, things are working quite well, including the Cube and Cone demos
(I have PyOpenGL installed).

A couple of random feedbacks:

1) On the demo, the constrained new numeric fields (MaskedNumCtrl) fight me
when I try to enter a maximum value (check-box enabled). Just typing a
number in the max value blank generates weird behavior (especially trying to
interpolate a new digit). After a delay, the thing turns yellow, and with
little additional effort, causes the whole demo to die (it just disappears
off the screen).

2) In the Wiki geared for teaching wxPython,
http://wiki.wxpython.org/index.cgi/Getting_20Started
6.2.1, 6.2.2 etc.

the initial examples pass a frame id of -1, but there's a -4 hard coded in
the class __init__ for some reason (i.e. the passed -1 is ignored), and this
causes a failure in one of the asserts (-4 is not legal). If I replace the
-4 with id (the passed parameter), then all is as it should be.

Kirby