c++ - Undefined reference. DSO missing -
i'm trying compile qt ffmpeg wrapper simple encoding/decoding example under linux qtffmpegwrapper source
# set list of required ffmpeg libraries .pro file libs += -lswresample \ -lavcodec \ -lavformat \ -lavutil \ -lswscale \ -lz
compiling failed due error :-1: error: /home/mher/qt5.4.0/5.4/gcc_64/lib/libavformat.a(avisynth.o): undefined reference symbol 'dlclose@@glibc_2.2.5' /lib/x86_64-linux-gnu/libdl.so.2:-1: error: error adding symbols: dso missing command line
i found similar situation dso missing command line here. should set run settings? or need change .pro file?
try add line: libs += -ldl
in pro file.
Comments
Post a Comment