Cross compiling for Win32

"David Barron" <[email protected]> Thu, 4 Nov 2004 11:21:23 -0500
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
I keep seeing references to mad.dll for windows but I can't seem to find it anywhere.  So I'm trying to build it myself (yeah, right).

I'm using the Microsoft Visual C++ Toolkit, which is a free download from Microsoft.  It does not include the Visual Studio IDE or the Nmake utility, so I have to compile and link manually.  No problem I can work handle that, but the compile is failing with the following error:

Fixed.h(446) : fatal error C1189: #error : "no FPM selected"

I get this error several times, of course.  And I'm also getting:

Cannot open include file: 'sys/mman.h': No such file or directory
And
Cannot open include file: 'unistd.h': No such file or directory

Am I wasting my time?

By the way, my ultimate goal is to create a Java Native Interface to mad, so if anyone has been working on this I'd appreciate if you could let me know.

Thanks
David