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.

(the first line is the command)

$ python setup.py build_ext --inplace WXPORT=msw COMPILER=cygwin BUILD_GLCANVAS
=0 BUILD_GIZMOS=0 UNICODE=0
WARNING: WXWIN not set in environment. Assuming '..'
Found wx-config: /usr/local/bin/wx-config
    Using flags:  --toolkit=msw --unicode=no --version=2.8
Preparing CORE...
Preparing STC...
running build_ext
building '_controls_' extension
writing build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_.def
g++ -mcygwin -shared -s build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_wrap
.o build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_.def -L/usr/local/lib -L/
usr/lib/python2.5/config -lwx_msw_richtext-2.8 -lwx_msw_aui-2.8 -lwx_msw_xrc-2.8
 -lwx_msw_qa-2.8 -lwx_msw_html-2.8 -lwx_msw_adv-2.8 -lwx_msw_core-2.8 -lwx_base_
xml-2.8 -lwx_base_net-2.8 -lwx_base-2.8 -lpython2.5 -o wx/_controls_.dll
build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_wrap.o:_controls_wrap.cpp:(.
text+0xcddf8): undefined reference to `__imp___ZTV23wxDatePickerCtrlGeneric'
build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_wrap.o:_controls_wrap.cpp:(.
text+0xcde03): undefined reference to `__imp___ZN23wxDatePickerCtrlGeneric4InitE
v'
build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_wrap.o:_controls_wrap.cpp:(.
text+0xcde6e): undefined reference to `__imp___ZN23wxDatePickerCtrlGeneric6Creat
eEP8wxWindowiRK10wxDateTimeRK7wxPointRK6wxSizelRK11wxValidatorRK8wxString'
build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_wrap.o:_controls_wrap.cpp:(.
text+0xce7fd): undefined reference to `__imp___ZTV23wxDatePickerCtrlGeneric'
build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_wrap.o:_controls_wrap.cpp:(.
$
v'
build/temp.cygwin-1.5.25-i686-2.5/src/msw/_controls_wrap.o:_controls_wrap.cpp:(.
text+0xced2d): undefined reference to `__imp___ZN23wxDatePickerCtrlGeneric6Creat
eEP8wxWindowiRK10wxDateTimeRK7wxPointRK6wxSizelRK11wxValidatorRK8wxString'
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

Any help?

Mark Petzold
[EMAIL PROTECTED]
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to