Note that there are some explanatory texts on larger screens.

plurals
  1. POBuild SoX with LAME support in Cygwin
    text
    copied!<p>I'm trying to build SoX (14.4.1) in Cygwin with MP3 support using LAME (3.99.5). I've been following this guide: <a href="http://bencos.googlecode.com/svn-history/r137/trunk/out/sox/README.win32.txt" rel="nofollow">http://bencos.googlecode.com/svn-history/r137/trunk/out/sox/README.win32.txt</a> When running "./configure" it tells me that it "cannot find LAME". I have put lame-enc.dll in the sox directory, but it's not detected. Can anyone help me to figure out why this fails? Here's the command and the output from the log file:</p> <pre><code>./configure --with-lame ... configure:13645: checking whether to dlopen lame configure:13654: result: no configure:13664: checking lame/lame.h usability configure:13664: gcc -c -g -O2 -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -fopenmp conftest.c &gt;&amp;5 configure:13664: $? = 0 configure:13664: result: yes configure:13664: checking lame/lame.h presence configure:13664: gcc -E conftest.c configure:13664: $? = 0 configure:13664: result: yes configure:13664: checking for lame/lame.h configure:13664: result: yes configure:13689: checking for lame_get_lametag_frame in -lmp3lame configure:13714: gcc -o conftest.exe -g -O2 -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -fopenmp conftest.c -lmp3lame &gt;&amp;5 conftest.c:53:1: warning: function declaration isn't a prototype conftest.c:55:1: warning: function declaration isn't a prototype /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmp3lame </code></pre> <p><strong>Edit</strong>: I got <em>configure</em> and <em>make</em> working by installing several packages in cygwin and updating the path. The pro tip is to read the install files to see if they list required packages and possibly check the Linux distributions, because their packages refer to dependencies and build dependencies.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload