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!
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).
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.