[FFmpeg-user] Problem building with libx265

Kimio Miyamura xanadu at apost.plala.or.jp
Sun Aug 31 21:07:56 CEST 2014


> 2014/08/30 2:29 p.m. Andrew Sinclair <ajsinclair <at> gmail.com> wrote: 
> 
> Name: x265
> Description: H.265/HEVC video encoder
> Version: 0.8
> Libs: -L${libdir} -lx265 -lstdc++ -lm -lrt
> Libs.private: -lc++
> -l/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/lib/darwin/libclang_rt.osx.a
> Cflags: -I${includedir}

This x265 is too old.   Current version is 1.3.

This version's Libs.private line have minor bug.  Libs.private: -lc++ -l/Applications/Xcode.app...  should be Libs.private: -lc++ /Applications/Xcode.app... (remove "-l").  

Also since you seems to using Mac OS X, -lstdc++ in Libs: line is not correct.  OS X uses -lc++ and it was described in Libs.private: line.  To enable Libs.private: line, you have to add --pkg-config-flags=--static or --pkg_config='pkg-config --static' to ffmpeg configure option.  

// Miya




More information about the ffmpeg-user mailing list