<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">Hi All,</div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"> I built LAME 3.100 with Visual Studio 2015 using nmake (I had to edit the make file to change nasmw to just plain nasm but it compiled). I got a lib file (<span>libmp3lame-static.lib</span>) and a header file (<span>lame.h</span>).</div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"> I put these in the /usr/lib and /usr/include folders of my MSYS2 install folder, fired up a Visual Studio command prompt and then fired up MSYS2 from there and ran the following configure:</div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span> ./configure --toolchain=msvc --arch=i386 --enable-yasm --enable-asm --enable-static --disable-shared --enable-libx264 --enable-libmp3lame --enable-gpl --extra-ldflags=-L/usr/lib --extra-cflags=-I/usr/include/lame --host-ldflags=-L/user/lib --extra-libs=-lm --extra-libs=-lpthreads</span></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span><br></span></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span></span><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">But it complains it can't find lame:</div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span> ERROR: libmp3lame >= 3.98.3 not found</span></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span><br></span></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;">I tried renaming my lib file to just <span><span>libmp3lame.lib but that didn't help. <br></span></span></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span><span><br></span></span></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span><span>I also tried building lame inside MSYS2 with the regular /.configure && make && make install. This generates libmp3lame.la and libmp3lame.a files but these don't seem to be the right types. If I understand correctly (big 'if') these are gcc binaries. <br></span></span></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span><span><br></span></span></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><span><span>Does anyone know what I'm doing wrong? While I'm on the subject does anyone make pre-compiled library files :)? The Z<span>eranoe build doesn't have the lib files for libav development. <br></span></span></span><br></div></div></body></html>