|
From: | Li 美文 |
Subject: | [Discuss-gnuradio] about Building wxPython in Cygwin |
Date: | Mon, 14 Sep 2009 21:07:53 +0800 |
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 '_core_' extension creating build creating build/temp.cygwin-1.5.25-i686-2.5 creating build/temp.cygwin-1.5.25-i686-2.5/src creating build/temp.cygwin-1.5.25-i686-2.5/src/msw gcc -mcygwin -mdll -O -Wall -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTP UT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXU SINGDLL -D__WXMSW__ -Iinclude -Isrc -I/usr/local/lib/wx/include/msw-ansi-release -2.8 -I/usr/local/include/wx-2.8 -I/usr/include/python2.5 -c src/helpers.cpp -o build/temp.cygwin-1.5.25-i686-2.5/src/helpers.o -O3 src/helpers.cpp: In function `bool wxColour_helper(PyObject*, wxColour**)': src/helpers.cpp:2933: warning: comparison between signed and unsigned integer ex pressions gcc -mcygwin -mdll -O -Wall -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTP UT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXU SINGDLL -D__WXMSW__ -Iinclude -Isrc -I/usr/local/lib/wx/include/msw-ansi-release -2.8 -I/usr/local/include/wx-2.8 -I/usr/include/python2.5 -c src/msw/_core_wrap. cpp -o build/temp.cygwin-1.5.25-i686-2.5/src/msw/_core_wrap.o -O3 src/msw/_core_wrap.cpp: In function `PyObject* _wrap_GetAccelFromString(PyObject *, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:33938: warning: `wxGetAccelFromString' is deprecated (dec lared at /usr/local/include/wx-2.8/wx/utils.h:571) src/msw/_core_wrap.cpp:33938: warning: `wxGetAccelFromString' is deprecated (dec lared at /usr/local/include/wx-2.8/wx/utils.h:571) src/msw/_core_wrap.cpp: In member function `virtual bool wxPyEvtHandler::Process Event(wxEvent&)': src/msw/_core_wrap.cpp:3931: warning: 'rval' might be used uninitialized in this function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_ImageHandler_CanReadStream( PyObject*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:15311: warning: 'created2' might be used uninitialized in this function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_new_ImageFromStream(PyObjec t*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:16567: warning: 'created1' might be used uninitialized in this function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_new_ImageFromStreamMime(PyO bject*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:16634: warning: 'created1' might be used uninitialized in this function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_new_ImageFromDataWithAlpha( PyObject*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:16841: warning: 'arg6' might be used uninitialized in thi s function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_Image_SaveStream(PyObject*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:18575: warning: 'created2' might be used uninitialized in this function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_Image_SaveMimeStream(PyObje ct*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:18640: warning: 'created2' might be used uninitialized in this function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_Image_CanReadStream(PyObjec t*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:18708: warning: 'created1' might be used uninitialized in this function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_Image_LoadStream(PyObject*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:18760: warning: 'created2' might be used uninitialized in this function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_Image_LoadMimeStream(PyObje ct*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:18838: warning: 'created2' might be used uninitialized in this function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_Image_SetAlphaData(PyObject *, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:19388: warning: 'arg3' might be used uninitialized in thi s function src/msw/_core_wrap.cpp: In function `PyObject* _wrap_Image_SetAlphaBuffer(PyObje ct*, PyObject*, PyObject*)': src/msw/_core_wrap.cpp:19455: warning: 'arg3' might be used uninitialized in thi s function writing build/temp.cygwin-1.5.25-i686-2.5/src/_core_.def g++ -mcygwin -shared -s build/temp.cygwin-1.5.25-i686-2.5/src/helpers.o build/te mp.cygwin-1.5.25-i686-2.5/src/msw/_core_wrap.o build/temp.cygwin-1.5.25-i686-2.5 /src/_core_.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 -lpy thon2.5 -o wx/_core_.dll building '_gdi_' extension gcc -mcygwin -mdll -O -Wall -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTP UT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXU SINGDLL -D__WXMSW__ -Iinclude -Isrc -I/usr/local/lib/wx/include/msw-ansi-release -2.8 -I/usr/local/include/wx-2.8 -I/usr/include/python2.5 -c src/drawlist.cpp -o build/temp.cygwin-1.5.25-i686-2.5/src/drawlist.o -O3 gcc -mcygwin -mdll -O -Wall -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTP UT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXU SINGDLL -D__WXMSW__ -Iinclude -Isrc -I/usr/local/lib/wx/include/msw-ansi-release -2.8 -I/usr/local/include/wx-2.8 -I/usr/include/python2.5 -c src/pseudodc.cpp -o build/temp.cygwin-1.5.25-i686-2.5/src/pseudodc.o -O3 src/pseudodc.cpp: In function `void GreyOutImage(wxImage&)': src/pseudodc.cpp:60: warning: 'mr' might be used uninitialized in this function src/pseudodc.cpp:60: warning: 'mg' might be used uninitialized in this function src/pseudodc.cpp:60: warning: 'mb' might be used uninitialized in this function gcc -mcygwin -mdll -O -Wall -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTP UT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXU SINGDLL -D__WXMSW__ -Iinclude -Isrc -I/usr/local/lib/wx/include/msw-ansi-release -2.8 -I/usr/local/include/wx-2.8 -I/usr/include/python2.5 -c src/msw/_gdi_wrap.c pp -o build/temp.cygwin-1.5.25-i686-2.5/src/msw/_gdi_wrap.o -O3 src/msw/_gdi_wrap.cpp: In function `wxPalette* new_wxPalette(const wxArrayInt&, const wxArrayInt&, const wxArrayInt&)': src/msw/_gdi_wrap.cpp:2884: warning: comparison between signed and unsigned inte ger expressions src/msw/_gdi_wrap.cpp:2884: warning: comparison between signed and unsigned inte ger expressions src/msw/_gdi_wrap.cpp: In member function `virtual bool wxGraphicsContext::SetLo gicalFunction(int)': src/msw/_gdi_wrap.cpp:4073: warning: no return statement in function returning n on-void src/msw/_gdi_wrap.cpp: In function `PyObject* _wrap_GraphicsRenderer_CreateBitma p(PyObject*, PyObject*, PyObject*)': src/msw/_gdi_wrap.cpp:32226: error: 'class wxGraphicsRenderer' has no member nam ed 'CreateBitmap' src/msw/_gdi_wrap.cpp: In function `PyObject* _wrap_PenList_AddPen(PyObject*, Py Object*, PyObject*)': src/msw/_gdi_wrap.cpp:33876: warning: `AddPen' is deprecated (declared at /usr/l ocal/include/wx-2.8/wx/gdicmn.h:516) src/msw/_gdi_wrap.cpp: In function `PyObject* _wrap_PenList_RemovePen(PyObject*, PyObject*, PyObject*)': src/msw/_gdi_wrap.cpp:33914: warning: `RemovePen' is deprecated (declared at /us r/local/include/wx-2.8/wx/gdicmn.h:517) src/msw/_gdi_wrap.cpp: In function `PyObject* _wrap_BrushList_AddBrush(PyObject* , PyObject*, PyObject*)': src/msw/_gdi_wrap.cpp:34007: warning: `AddBrush' is deprecated (declared at /usr /local/include/wx-2.8/wx/gdicmn.h:526) src/msw/_gdi_wrap.cpp: In function `PyObject* _wrap_BrushList_RemoveBrush(PyObje ct*, PyObject*, PyObject*)': src/msw/_gdi_wrap.cpp:34045: warning: `RemoveBrush' is deprecated (declared at / usr/local/include/wx-2.8/wx/gdicmn.h:527) src/msw/_gdi_wrap.cpp: In function `PyObject* _wrap_FontList_AddFont(PyObject*, PyObject*, PyObject*)': src/msw/_gdi_wrap.cpp:34197: warning: `AddFont' is deprecated (declared at /usr/ local/include/wx-2.8/wx/gdicmn.h:539) src/msw/_gdi_wrap.cpp: In function `PyObject* _wrap_FontList_RemoveFont(PyObject *, PyObject*, PyObject*)': src/msw/_gdi_wrap.cpp:34235: warning: `RemoveFont' is deprecated (declared at /u sr/local/include/wx-2.8/wx/gdicmn.h:540) error: command 'gcc' failed with exit status 1 用部落格分享照片、影音、趣味小工具和最愛清單,盡情秀出你自己 — Windows Live Spaces |
[Prev in Thread] | Current Thread | [Next in Thread] |