[Top][All Lists]

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

Re: [Discuss-gnuradio] Trouble building under cygwin

From: Steven Clark
Subject: Re: [Discuss-gnuradio] Trouble building under cygwin
Date: Wed, 22 Nov 2006 13:47:28 -0500

You are right, I was using a newer w32api (3.8-1). Thanks for your help!

On 11/21/06, Don Ward <address@hidden> wrote:
The trouble is occuring during the installation of wxPython. I know this is "just" a GUI environment, but I'd still like to get it working. I get to step 6 of http://gnuradio.org/trac/wiki/wxPythonCygwin, and the make fails, complaining about the fact that the file
C:\cygwin\usr\src\wxPython-src-\src\jpeg\jmorecfg.h, line 264
(included from C:\cygwin\usr\src\wxPython-src-\src\jpeg\jpeglib.h:26, which is in turn included from C:\cygwin\usr\src\wxPython-src-\src\common\imagjpeg.cpp:46)

typedefs boolean as an int, whereas boolean was previously typedef'd as an unsigned char (by C:\cygwin\usr\include\w32api\rpcndr.h:52).
What version of w32api are you using ('cygcheck -c w32api' will tell you)?
If I comment out the original typedef in rpcndr.h, make / make install works ok.

Is this normal? Is my hack likely to cause trouble down the line? If no, you might want to add a note about this issue on the wiki.
It looks like w32api has been changed since version 3.7 and others have run into this problem, too.  I expect your fix is fine---even if it doesn't work, GNU Radio isn't likely to notice a problem in the jpeg code.  A better fix is probably to define HAVE_BOOLEAN in jmorecfg.h (or in src/jpeg/jconfig.h).

reply via email to

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