<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>2014/04/21 10:20、Derek Buitenhuis <<a href="mailto:derek.buitenhuis@gmail.com">derek.buitenhuis@gmail.com</a>> のメール:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 4/20/2014 7:51 AM, 宮村 公男 wrote:<br><blockquote type="cite">I have upload part of config.log of ffmpeg which related with this error at <a href="http://www10.plala.or.jp/pipedream/config_log.html">http://www10.plala.or.jp/pipedream/config_log.html</a><br></blockquote><br>Run FFmpeg's configure with --pkg-config-flags=—static</blockquote><br></div><div><span style="font-family: Menlo-Regular; font-size: 13px;">This does not helps to solve problem.</span><br style="font-family: Menlo-Regular; font-size: 13px;"><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">We, me and he who send me environment of his ffmpeg, found the cause of problem.  That might be a bug with x265.</span><br style="font-family: Menlo-Regular; font-size: 13px;"><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">Here’s his comment:</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">“In order to be able to link libx265 to ffmpeg it requires -lstdc++ as a compiler flag yet it does not provide it via pkg-config when ffmpeg asks for the -cflags of libx265. It should add -lstdc++ to its Libs: line of the x265.pc file.”</span><br style="font-family: Menlo-Regular; font-size: 13px;"><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">So x265.pc should be as follows:</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">--- a/x265.pc</span><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; white-space: pre;">     </span><span style="font-family: Menlo-Regular; font-size: 13px;">2014-04-16 14:50:20.000000000 +0900</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">+++ b/x265.pc</span><span class="Apple-tab-span" style="font-family: Menlo-Regular; font-size: 13px; white-space: pre;">    </span><span style="font-family: Menlo-Regular; font-size: 13px;">2014-04-21 10:54:32.000000000 +0900</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">@@ -6,6 +6,6 @@</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">Name: x265</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">Description: H.265/HEVC video encoder</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">Version: 0.9</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">-Libs: -L${libdir} -lx265</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">+Libs: -L${libdir} -lx265 -lstdc++</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">Libs.private: -lc++ -l/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/lib/darwin/libclang_rt.osx.a</span><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">Cflags: -I${includedir}</span><br style="font-family: Menlo-Regular; font-size: 13px;"><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">Note that this solves the problem using x265 static library.  Miss linked shard library problem still remain...  </span><br style="font-family: Menlo-Regular; font-size: 13px;"><br style="font-family: Menlo-Regular; font-size: 13px;"><span style="font-family: Menlo-Regular; font-size: 13px;">// Miya</span></div></body></html>