Hello. I'm trying to compile wxPython on cygwin. I've compiled
wxWindows fine (the latest CVS) and I have tailored a setup.py based
on what makefile.g95 from wxWindows uses. The compile gets pretty far
and then I get this:
gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -DWIN32 -D_WIN32 -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -D__WXMSW__ -D__WINDOWS__ -D__WXDEBUG__ -DSTRICT -Isrc -I/usr/src/wxWindows/lib/msw -I/usr/src/wxWindows/include -I/usr/src/wxWindows/contrib/include -I/usr/src/wxWindows/src/regex -I/usr/src/wxWindows/src/png -I/usr/local/include/python2.1 -c src/msw/windows3.cpp -o build/temp.cygwin_nt-5.0-1.3.4-i586-2.1/src/msw/windows3.o
src/msw/windows3.cpp:101: parse error before `{'
src/msw/windows3.cpp:104: parse error before `*'
src/msw/windows3.cpp: In function `void _setCallbackInfo(PyObject *, PyObject *, int = 1)':
src/msw/windows3.cpp:108: `m_myInst' undeclared (first use this function)
src/msw/windows3.cpp:108: (Each undeclared identifier is reported only once
src/msw/windows3.cpp:108: for each function it appears in.)
src/msw/windows3.cpp: At top level:
src/msw/windows3.cpp:108: parse error before `private'
src/msw/windows3.cpp:111: invalid use of undefined type `class wxPyPopupTransientWindow'
src/msw/windows3.cpp:100: forward declaration of `class wxPyPopupTransientWindow'
src/msw/windows3.cpp: In method `bool wxPyPopupTransientWindow::ProcessLeftDown(wxMouseEvent &)':
src/msw/windows3.cpp:111: `wxPopupTransientWindow' undeclared (first use this function)
src/msw/windows3.cpp:111: parse error before `::'
src/msw/windows3.cpp:111: confused by earlier errors, bailing out
error: command 'gcc' failed with exit status 1
Any help is greatly appreciated.
Thanks,
^Roman