宮村 公男 wrote:
2014/04/24 1:23、Jan Ehrhardt <[email protected]> のメール:

?? ?? in gmane.comp.video.ffmpeg.user (Wed, 23 Apr 2014 23:35:03 +0900):
Instead, configure ffmpeg with --pkg-config-flags=--static option, this issue 
is solved.
By adding --static, x265.pc gives -lc++ or -lstdc++ with --cflags to ffmpeg.
I did not know the --pkg-config-flags syntax, but this boils down to the
same solution:
http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=5&t=4&start=20#p5338

Put this at the beginning of your ./configure commandline:

pkg_config='pkg-config --static'

This will add the Libs.private to the linker command as well. See man
pkg-config.

Thanks.  I’ve confirmed that this option also solves the issue with 
Libs.private.

Or if you'd like to build shared, here's the correct incantation...

   cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix ../../source

You know everything is correct, when the output of otool shows
absolute paths for all objects.

   otool -L $prefix/lib/libx265.dylib
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to