Compiling Audacity 2.0.3 with Cygwin

Hello,
When compiling Audacity 2.0.3 with the latest Cygwin CYGWIN_NT-6.1-WOW64 (32bits version), I get the following error :

In file included from /usr/include/sys/types.h:473:0,
from /usr/include/stdio.h:47,
from /usr/local/include/wx-2.8/wx/wxchar.h:21,
from /usr/local/include/wx-2.8/wx/debug.h:22,
from /usr/local/include/wx-2.8/wx/defs.h:521,
from FileDialog.h:24,
from FileDialog.cpp:17:
/usr/include/cygwin/types.h:78:20: error: multiple types in one declaration
/usr/include/cygwin/types.h:78:20: error: declaration does not declare anything [-fpermissive]
/usr/include/cygwin/types.h:84:20: error: multiple types in one declaration
/usr/include/cygwin/types.h:84:20: error: declaration does not declare anything [-fpermissive]
Makefile:22: recipe for target `FileDialog.o’ failed
make: *** [FileDialog.o] Error 1

(wxWidgets compiles and install when using the mingw compiler instead of gcc.)

Does it mean there is a confusion between the defaunt include files and the wx include files - How to avoid it ?
Thank you.

There are platform specific guides to building Audacity: http://wiki.audacityteam.org/wiki/Developer_Guide#Platform_Specific_Guides
I don’t see any mention of Cygwin, so my guess is that you will be on your own with that. Do you really need to use Cygwin?

Such instructions as there are for Cygwin in http://audacity.googlecode.com/svn/audacity-src/trunk/win/compile.txt are years old.

I think you are on your own. Use MSVC 2008 then you can get support.


Gale