Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to get a list of libraries ffmpeg has linked to (static ffmpeg libraries)?
    primarykey
    data
    text
    <p>I have compiled Ffmpeg (1.0) with newt configuration:</p> <pre><code>./configure --disable-doc --disable-ffplay --disable-ffprobe --disable-ffserver --disable-avdevice --disable-avfilter --disable-pthreads --disable-everything --enable-muxer=flv --enable-encoder=flv --enable-encoder=h263 --disable-mmx --disable-shared --prefix=bin/ --disable-protocols --disable-network --disable-debug --disable-asm --disable-stripping </code></pre> <p>It compiled - no errors - headers and libs (static <code>.a</code>) are in place. (special experimental cigwin, experimental gcc, with no asm options, and no known by ffmpeg platform defines) (yet I have compiled and tested boost on it)</p> <p>Now I try to compile my app. I get next exceptions:</p> <pre><code>../ffmpeg-1.0/bin/lib/libavcodec.a: error: undefined reference to 'exp' ../ffmpeg-1.0/bin/lib/libavcodec.a: error: undefined reference to 'log' </code></pre> <p>My compiler build line looks like this:</p> <pre><code>g++ -static -emit-swf -o CloudClient.swf -I../boost/boost_libraries/install-dir/include -I../ffmpeg-1.0/bin/include -L../boost/boost_libraries/install-dir/lib -L../ffmpeg-1.0/bin/lib \ timer.o \ audio_encoder.o \ audio_generator.o \ video_encoder.o \ video_generator_rainbow.o \ simple_synchronizer.o \ multiplexer.o \ transmitter.o \ graph_runner.o \ cloud_client.o \ -pthread \ -lswscale \ -lavutil \ -lavformat \ -lavcodec \ -lboost_system \ -lboost_date_time \ -lboost_thread </code></pre> <p>So as you see quite complex and I already have all object files compiled and ready... Only one thing left - link it all to ffmpeg (striped from ffmpeg version compiled with boost)</p> <p>Tried adding <code>-lm</code> - no help...</p> <p>Well here my question is - how to get list of libraries ffmpeg linked to (like <code>-lm</code> etc)? </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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