[mad-dev] question about libmad install

Rob Leslie rob@mars.org
Sun, 6 Jul 2003 12:49:47 -0700


On Wednesday, July 2, 2003, at 09:12  PM, Shiming Dong wrote:
> I downloaded the source code for libmad and try to install it on 
> Windows. But I don't know how to install it, do I need to write a make 
> file ? I have no idea at all. From the document, it said I can use 
> either MSVC++ or cygwin. But there is no readme file for how to 
> install using MSVC++. I installed cygwin, but I don't know how to use 
> it to install?
> Sorry for my questions, but I'm a beginer and I really have no idea.

For MSVC++: open the project file contained in the 'msvc++' 
subdirectory, choose either Release or Debug target, and build.

For Cygwin: open a shell and follow the instructions in the INSTALL and 
README files. It basically boils down to:

     $ ./configure
     $ make
     $ make install

(By default the resulting library will be dependent on the Cygwin DLL; 
to avoid this give the option --host=mingw32 to 'configure'.)

In either case you will get a static library you can link with your 
programs using the 'mad.h' header file.

-- 
Rob Leslie
rob@mars.org