"Li 美文" <[email protected]> wrote:
I'm trying to build wxPython 2.8.10.1 under Cygwin following the
instructions on http://gnuradio.org/trac/wiki/wxPythonCygwin.
I have successfully done this previously --> ../configure --with-msw
In next setp "make", I get following error message....
What can I do?
I think you need an extra patch to the code. In
/usr/src/wxPython-src-2.8.10.1/src/msw/timer.cpp, after the line
#include "wx/hashmap.h"
add the line
#include "wx/module.h"
Let us know if this works; if it does, I will update the wiki.
-- Don W.
em...@ncku-34be181a97 /usr/src/wxPython-src-2.8.10.1/build-local
$make
/usr/src/wxPython-src-2.8.10.1/build-local/bk-deps g++ -c -o
coredll_msw_timer.o
-D__WXMSW__ -I../src/tiff -I../src/jpeg -I../src/png -DWXUSINGDLL
-DWX
MAKINGDLL_CORE -DwxUSE_BASE=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/src/
wxPython-src-2.8.10.1/build-local/lib/wx/include/msw-ansi-release-2.8 -I../inclu
de -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing
../src/msw/time
r.cpp
../src/msw/timer.cpp:73: error: expected class-name before '{' token
../src/msw/timer.cpp:92: error: `wxModule' has not been declared
../src/msw/timer.cpp: In static member function `static wxObject*
wxTimerHiddenW
indowModule::wxCreateObject()':
../src/msw/timer.cpp:92: error: cannot convert
`wxTimerHiddenWindowModule*' to `
wxObject*' in return
make: *** [coredll_msw_timer.o] Error 1
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio