[Top][All Lists]

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

Re: [Discuss-gnuradio] build error in cygwin

From: Don Ward
Subject: Re: [Discuss-gnuradio] build error in cygwin
Date: Sat, 27 Jan 2007 13:32:05 -0500

"Achilleas Anastasopoulos" <address@hidden> wrote:

I followeed the wiki instructions for building gnuradio
on cygwin.
Everything seems to be working fine,
except when installing wxPython.
In particular in step (11) as described in the wiki:

> cd $WXDIR/wxPython
> python setup.py build_ext --inplace WXPORT=msw BUILD_GLCANVAS=0

I get the following errors.
Any help as to what might be wrong is appreciated.


Found wx-config: /usr/local/bin/wx-config
    Using flags:  --toolkit=msw --unicode=yes --version=2.8
Preparing CORE...
Preparing STC...
running build_ext
building '_core_' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -Iinclude -Isrc -I/usr/include/python2.4 -c src/helpers.cpp -o build.unicode/temp.cygwin-1.5.23-i686-2.4/src/helpers.o -O3

Warning: No config found to match: /usr/local/bin/wx-config --toolkit=msw --unicode=yes --version=2.8 --cxxflags
           in /usr/local/lib/wx/config
  If you require this configuration, please install the desired
  library build.  If this is part of an automated configuration
  test and no other errors occur, you may safely ignore it.
  You may use wx-config --list to see all configs available in
  the default prefix.

It appears that in version wxPython defaults to UNICODE=1 while the wxWidgets build defaults to ansi (i.e., not unicode). In step (11) try:

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

Let me know if it works and I will update the wiki.

If it doesn't work, try "/usr/local/bin/wx-config --list" and let me know what it says.

-- Don W.

reply via email to

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