d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Compiling Sox With Mp3 Support > Need Help/s.o. Compiling This
Add Reply New Topic New Poll
Member
Posts: 224
Joined: Jan 14 2008
Gold: 19,270.00
Mar 6 2013 02:28pm
Short Information:
Looking for help at compiling the open source C++ project SoX with mp3 support (which means precompilation of lame and mad codec) for Windows or even better someone who does the job for me.
I can offer fg if wanted.

Long Information:
I am working on a non-commercial mp3-manager for a friend of mine.

My first plan was to write the complete program in Java but there is nearly no mp3 support from Oracle and most open APIs are broken or outdated like Jlayer.
That's why I decided to write the locical stuff in Java and pass the mp3 processing to an existing tool in another language.
Therefore I need a headless or commandline tool for decoding, manipulating and encoding mp3 data.

I wasted about 2 weeks getting Audacity compiled just to find out that the built in Perl-pipe for the headless mode never realy worked.

Someone said in the Audacity forum that "Sound eXchange" (SoX) http://sox.sourceforge.net/ would be the right tool for this because it is completely comandline based and sould be used instead.
Because of patent reasons precompiled SoX versions do not support mp3 processing and needs to be self-compiled with lame and mad codec.
SoX itself does not provide any informations about how to compile the source code and nearly all guides from my google search described how to compile on linux (where this tool is originaly from) but I need it for Windows.

Finally I found a guide for Windows on CodeProject: http://www.codeproject.com/Articles/33901/Compiling-SOX-with-Lame-and-Libmad-for-Windows
From the comments I can tell that this guide worked for all the ppl trying this but it did not for me.
I succeeded in compiling lame and mad (step 1 and 2) but failed at step 3. The gmake never found my libs.
The precompiled sox.zip from the guide gave me some dll error (so it's not worth downloading it) and I do not expect any further help from the guide because it is from 2009.

I can not tell if my problems are caused by my setup (VirtualBox with WinXP SP3 64, Visual Basic 2008 Express, MS SDK v7.0, Cmake 2.6), my lack of english skills (my VB2008 is in german) and/or my sheer ignorance about how to compile C++.

Anyhow I'm stuck with this and I don't want to waste another two weeks trying to get this stuff working until I realize I can't do it by myself.

That's why I am looking for someone who can help me getting this stuff compiled or provide me a precompiled SoX with mp3 support for Windows and I offer fg if wanted.
Any help is highly appreciated! If I have to pay for this I prefer the latest versions of SoX, lame and mad.

Thanks in advance!

Here are the important links:
Guide: http://www.codeproject.com/Articles/33901/Compiling-SOX-with-Lame-and-Libmad-for-Windows
Lame Encoder: http://sourceforge.net/projects/lame/files/lame/3.99/
MAD Decoder: http://sourceforge.net/projects/mad/files/
SoX source: http://sourceforge.net/projects/sox/files/sox/
Cmake: http://www.cmake.org/cmake/resources/software.html

Go Back To Programming & Development Topic List
Add Reply New Topic New Poll