discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] about Bui lding wxPython in Cygwin‏


From: Don Ward
Subject: Re: [Discuss-gnuradio] about Bui lding wxPython in Cygwin‏
Date: Fri, 18 Sep 2009 09:09:50 -0400

Li Mei-Wen wrote:

When I do the setp (9) (http://gnuradio.org/trac/wiki/wxPythonCygwin on windows)

python setup.py build_ext --inplace WXPORT=msw COMPILER=cygwin BUILD_GLCANVAS=0 BUILD_GIZMOS=0 UNICODE=0

I get sfollowing error message.....
What can I do?

address@hidden /usr/src/wxPython-src-2.8.10.1/wxPython
$ 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+0xce4e8): undefined reference to `__imp___ZTV23wxDatePickerCtrlGeneric'
[snipped]

Did you make the change to setup.h described in step (4)?
Note: In versions 2.8.8.1, 2.8.9.1, and 2.8.10.1 you will need to 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
before going to the next step.

-- Don W.





reply via email to

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