<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>In fact, bootstrap bash script is just a configuration start. The whole configuration job is delegate to cmake, and about ffmpeg, the detection is performed by this script :</div><div><br></div><div><a href="https://cgit.kde.org/digikam.git/tree/core/cmake/modules/FindFFmpeg.cmake">https://cgit.kde.org/digikam.git/tree/core/cmake/modules/FindFFmpeg.cmake</a><br></div><div><br></div><div>There is a macro to check all ffmpeg component (header, library, compilation flags). Under Linux, it use the famous package_config files generated when ffmpeg is installed. Typically package_config must help quickly to found all components by an external tool as cmake. I suspect that you ffmpeg package_config file is not well adjusted (it's a simple text files with settings and path description).</div><div><br></div><div>Can i see the whole DK configuration stage generated on the console, with the build sub-dir previously removed ?</div><div><br></div><div>Best</div><div><br></div><div>Gilles Caulier</div></div></div><br><div class="gmail_quote"><div dir="ltr">Le jeu. 15 nov. 2018 à 17:20, Andrey Goreev <<a href="mailto:aegoreev@gmail.com">aegoreev@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">

<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Hello,</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">I am trying to compile digikam-git on ubuntu 18.04 but keep getting this error message:<br><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">-- FFMPEG_FOUND        = FALSE<br>-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu<br>-- FFMPEG_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libavutil.so;/usr/lib/x86_64-linux-gnu/libswscale.so<br>-- FFMPEG_DEFINITIONS  = <br><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">I compiled ffmpeg myself but bootstrap did not find it.</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Then I installed ffmpeg from ubuntu repos but bootstrap can't seem to locate it either.</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">I checked and the files</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">/usr/lib/x86_64-linux-gnu/libavcodec.so;</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">/usr/lib/x86_64-linux-gnu/libavformat.so;</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">/usr/lib/x86_64-linux-gnu/libavutil.so;</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">/usr/lib/x86_64-linux-gnu/libswscale.so</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">actually exist, here is screenshots:</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><a href="https://www.flickr.com/gp/goreev/8B4172" target="_blank">https://www.flickr.com/gp/goreev/8B4172</a></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><a href="https://www.flickr.com/gp/goreev/1iF173" target="_blank">https://www.flickr.com/gp/goreev/1iF173</a></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><a href="https://www.flickr.com/gp/goreev/G584Fn" target="_blank">https://www.flickr.com/gp/goreev/G584Fn</a></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><a href="https://www.flickr.com/gp/goreev/U2Bc83" target="_blank">https://www.flickr.com/gp/goreev/U2Bc83</a></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Any ideas?<br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><div><div dir="ltr" class="m_8351809183568013556gmail_signature"><div dir="ltr"><div>Best regards, <br></div><div>Andrey<br></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>