Hi Sven, Thanks for your reply! I've also tried with the space between the two -L command but same as before.
Best regards, Matteo -- Matteo Naccari, Ph.D., Senior Research Engineer BBC R&D, Centre House, London, 56 Wood lane, W12 7SB Phone: +44 (0)303 0409640 Skype: matteo_naccari Alternative emails: [email protected], [email protected] Webpage: http://sites.google.com/site/matteonaccari ________________________________________ From: ffmpeg-user [[email protected]] on behalf of Sven C. Dack [[email protected]] Sent: 03 November 2016 20:57 To: FFmpeg user questions Subject: Re: [FFmpeg-user] Specifying lib path when building ffmpeg On 03/11/16 18:34, Matteo Naccari wrote: > Dear FFmpeg users, > > I'm trying to build a fork of ffmpeg under Linux (Ubuntu 14.04, gcc 4.82) > which then integrates the codec I'm working on > (https://github.com/bbc/turingcodec). This codec uses some boost libraries > which ship with the source code. However, when I build ffmpeg enabling the > Turing codec (--enable-libturing) I can see that the executable of ffmpeg > links the system's boost libraries. Is there a way to link to the libraries > associated with the Turing codec? I've tried the --extra-ldflags option but > no joy. The way I configure the build is the following: > > PATH="/path/to/source/code/bin:$PATH" > PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure > --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static" > --extra-cflags="-I$HOME/ffmpeg_build/include" > --extra-ldflags="-L$HOME/ffmpeg_build/lib-L/path/to/turing/source/code/build/release/boost" > --bindir="$HOME/bin" --enable-gpl --enable-nonfree --enable-libturing > > Many thanks for your help! > Best regards, > Matteo > The line with: --extra-ldflags="-L$HOME/ffmpeg_build/lib-L/path/to/turing/source/code/build/release/boost" should say: --extra-ldflags="-L$HOME/ffmpeg_build/lib -L/path/to/turing/source/code/build/release/boost" It's missing a blank between the two -L<path> arguments. _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe". ----------------------------- http://www.bbc.co.uk This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ----------------------------- _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
