|Subject:||Re: [Discuss-gnuradio] Trouble building under cygwin|
|Date:||Wed, 22 Nov 2006 13:47:28 -0500|
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-22.214.171.124\src\jpeg\jmorecfg.h, line 264
(included from C:\cygwin\usr\src\wxPython-src-126.96.36.199\src\jpeg\jpeglib.h:26, which is in turn included from C:\cygwin\usr\src\wxPython-src-188.8.131.52\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).
|[Prev in Thread]||Current Thread||[Next in Thread]|