discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] HELP: about Building wxPython in Cygwin


From: Don Ward
Subject: Re: [Discuss-gnuradio] HELP: about Building wxPython in Cygwin
Date: Thu, 3 Sep 2009 10:38:45 -0400

"Li 美文" <address@hidden> 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.


address@hidden /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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]