On Mon, Sep 01, 2014 at 10:02:58AM +0900, Kimio Miyamura wrote: > Hi, > > I'm trying to build ffmpeg with libmodplug codec. > When I run "./configure --enable-libmodplug", it always ends with error > libmodplug not found. > > $ ./configure --enable-libmodplug > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > ERROR: libmodplug not found > > I searched web and found that modification of ffmpeg configure script is > required: > https://trac.macports.org/ticket/36942 > <https://trac.macports.org/ticket/36942> > > -enabled libmodplug && require libmodplug libmodplug/modplug.h > ModPlug_Load -lmodplug > +enabled libmodplug && require libmodplug libmodplug/modplug.h > ModPlug_Load -lmodplug -lstdc++ > > or > > -enabled libmodplug && require libmodplug libmodplug/modplug.h > ModPlug_Load -lmodplug > +enabled libmodplug && require libmodplug libmodplug/modplug.h > ModPlug_Load -lmodplug -lc++ > > > I have tested with Mac OS X. Both of them (adding -lstdc++ or -lc++ to > enabled libmodplug line) result in good. I can build ffmpeg fine. > > I think either of them should be added to ffmpeg compile script. How do you > think? >
Does -lstdc++ or -lc++ appears in pkg-config --libs libmodplug? [...] -- Clément B.
pgpsKfVhYP3Z3.pgp
Description: PGP signature
_______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
