discuss-gnuradio
[Top][All Lists]
Advanced

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

RE: [Discuss-gnuradio] Error on Build of wxPython


From: Petzold, Mark C.
Subject: RE: [Discuss-gnuradio] Error on Build of wxPython
Date: Sun, 14 Sep 2008 19:39:17 -0500

Don,
I'm glad people smarter about these things than me are ready to help.  That did 
the trick.  It seems to be installed properly now.

Mark

-----Original Message-----
From: Don Ward [mailto:address@hidden
Sent: Sunday, September 14, 2008 6:49 PM
To: Petzold, Mark C.; address@hidden
Subject: Re: [Discuss-gnuradio] Error on Build of wxPython

Mark Petzold wrote:

> I'm trying to build and setup wxPython, and at step 9 of the wiki
> instructions > (http://gnuradio.org/trac/wiki/wxPythonCygwin)  I get a g++
> error, as apparently > a library isn't linking.
>
> Some background:  I'm installing on Cygwin on Windows XP, and have
> followed the instructions to use binutils 20080523-1.
>
> $ python setup.py build_ext --inplace WXPORT=msw COMPILER=cygwin
> BUILD_GLCANVAS=0 BUILD_GIZMOS=0 UNICODE=0
[...]
> build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_wrap.o:_controls_wrap.cpp:(.text+0xcddf8):
> undefined reference to `__imp___ZTV23wxDatePickerCtrlGeneric'
[etc.]

Once again, it appears that a change in the wxPython release has broken the
Cygwin build.  I don't know how it is supposed to work, but I made it work
by doing the following:

After running ../configure, find the file
build-local/lib/wx/include/msw-ansi-release-2.8/wx/setup.h and after the
line:

#define wxUSE_DATEPICKCTRL 1

add another line:

#define wxUSE_DATEPICKCTRL_GENERIC 1

then continue with the directions in the wiki.

-- Don W.





reply via email to

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