<div dir="ltr">But the problem is clear :<div><br></div><div>-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS) <br><span class="gmail-im" style="color:rgb(80,0,80)">-- 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  = </span><br></div><div><span class="gmail-im" style="color:rgb(80,0,80)"><br></span></div><div><span class="gmail-im" style="color:rgb(80,0,80)">==> </span>missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS</div><div><br></div><div>It missng the fmmpeg header file (*.h), used to compile with digiKam. The libs (*.so) are for linking (stage2), the header (*.h) are for the compilation (stage1)</div><div><br></div><div>In other words, your ffmpeg install in not complete or broken.</div><div><br></div><div>Gilles Caulier</div><div><span class="gmail-im" style="color:rgb(80,0,80)"><br></span></div></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 16 nov. 2018 à 14:55, 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>No, libavfilter is installed too...</div><div>

<p style="margin:0px;text-indent:0px;white-space:pre-wrap">/usr/lib/x86_64-linux-gnu/libavfilter.so</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">All libav* are installed along with their *-dev versions.</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p></div><div>Here is the complete output.</div><div>Any ideas?</div><div><br></div><div>./bootstrap.linux<br>Qt5     Install Path : /usr<br>digiKam Install Path : /usr<br>CMake binary         : cmake<br>Build Directory      : /home/andrey/digikam/build<br>-- ----------------------------------------------------------------------------------<br>-- Starting CMake configuration for: digikam-software-collection<br>-- Main one documentation directory is missing. Compilation of documentation is disabled...<br>-- Documentation translations directory is missing.<br>-- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files from git repositories.<br>-- ----------------------------------------------------------------------------------<br>-- Compilation configuration for: digikam-software-collection<br>-- digiKam core will be compiled.................. YES<br>-- Extract application translations files......... NO<br>-- Extract documentation translations files....... NO<br>-- Translations will be compiled.................. NO<br>-- Handbooks will be compiled..................... NO<br>-- Tests code will be compiled.................... YES<br>-- ----------------------------------------------------------------------------------<br>-- Starting CMake configuration for: digikam<br>-- Could not set up the appstream test. appstreamcli is missing.<br>-- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor kf5vkontakte-config.cmake <br>-- KF5::KIOWidgets include dirs: /usr/include/KF5/KIOWidgets;/usr/include/KF5<br>-- Libjpeg version: 84<br>-- Using libjpeg sub-directory: libjpeg/84<br>-- Boost version: 1.65.1<br>-- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so<br>-- EXIV2_FOUND       = TRUE<br>-- EXIV2_VERSION     = 0.27.0<br>-- EXIV2_INCLUDE_DIR = /usr/local/include<br>-- EXIV2_LIBRARY     = /usr/local/lib/libexiv2.so<br>-- EXIV2_DEFINITIONS = <br>-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS) <br>-- 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>-- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake<br>-- Found QtAV version 1.12.0<br>-- QtAV_FOUND       = TRUE<br>-- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets<br>-- QtAV_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so<br>-- QtAV_VERSION     = 1.12.0<br>-- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media player support is disabled.<br>-- First try at finding OpenCV...<br>-- OpenCV Root directory is: /usr/local/lib/cmake/opencv4<br>-- OpenCV: Found version 4.0.0 (required: 3.1.0)<br>-- OpenCV headers: /usr/local/include/opencv4<br>-- OpenCV libs   : opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs<br>-- Marble_FOUND       = TRUE<br>-- MARBLE_INCLUDE_DIR = /usr/include<br>-- MARBLE_LIBRARIES   = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so<br>-- ASTRO_LIBRARIES    = /usr/lib/x86_64-linux-gnu/libastro.so<br>-- libgphoto2 found    : TRUE<br>-- libgphoto2 version  : 2.5.16<br>-- libgphoto2 includes : /usr/include/gphoto2<br>-- libgphoto2 libraries: /usr/lib/x86_64-linux-gnu/libgphoto2.so;/usr/lib/x86_64-linux-gnu/libgphoto2_port.so;/usr/lib/x86_64-linux-gnu/<a href="http://libusb-1.0.so" target="_blank">libusb-1.0.so</a><br>-- libgphoto2 API version >= 2.5<br>-- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)<br>-- <br>-- --------------------------------------------------<br>-- digiKam RawEngine dependencies checks:<br>-- <br>-- RawEngine will be compiled with RedCine codec<br>-- Looking for LibJpeg<br>-- RawEngine will be compiled with DNG lossy codec<br>-- Looking for PThreads<br>-- --------------------------------------------------<br>-- <br>-- <br>-- ----------------------------------------------------------------------------------<br>--  digiKam 6.0.0-beta3 dependencies results   <<a href="http://www.digikam.org" target="_blank">http://www.digikam.org</a>><br>-- <br>--  MySQL Database Support will be compiled.. YES (optional)<br>--  MySQL Internal Support will be compiled.. YES (optional)<br>--  DBUS Support will be compiled............ YES (optional)<br>--  App. Style Support will be compiled...... YES (optional)<br>--  QWebEngine Support will be compiled...... NO  (optional)<br>--  libboostgraph found...................... YES<br>--  libexiv2 found........................... YES<br>--  libexpat found........................... YES<br>--  libjpeg found............................ YES<br>--  libkde found............................. YES<br>--  liblcms found............................ YES<br>--  libopencv found.......................... YES<br>--  libpng found............................. YES<br>--  libpthread found......................... YES<br>--  libqt found.............................. YES<br>--  libtiff found............................ YES<br>--  bison found.............................. YES (optional)<br>--  doxygen found............................ YES (optional)<br>--  flex found............................... YES (optional)<br>--  libakonadicontact found.................. YES (optional)<br>--  libeigen3 found.......................... YES (optional)<br>--  libgphoto2 found......................... YES (optional)<br>--  libjasper found.......................... YES (optional)<br>--  libkcalcore found........................ YES (optional)<br>--  libkvkontakte found...................... NO  (optional)<br>--  digiKam will be compiled without libkvkontakte support.<br>--  Please install the libkvkontakte (version >= 4.70.0) development package.<br>-- <br>--  libkfilemetadata found................... YES (optional)<br>--  libkiconthemes found..................... YES (optional)<br>--  libkio found............................. YES (optional)<br>--  libknotifications found.................. YES (optional)<br>--  libknotifyconfig found................... YES (optional)<br>--  libksane found........................... YES (optional)<br>--  liblensfun found......................... YES (optional)<br>--  liblqr-1 found........................... YES (optional)<br>--  libmarble found.......................... YES (optional)<br>--  libqtav found............................ YES (optional)<br>--  libthreadweaver found.................... YES (optional)<br>--  libxml2 found............................ YES (optional)<br>--  libxslt found............................ YES (optional)<br>--  OpenGL found............................. YES (optional)<br>--  digiKam can be compiled.................. YES<br>-- ----------------------------------------------------------------------------------<br>-- <br>--  ==> Doxygen is found:          TRUE<br>--  ==> Graphviz Dot is found:     YES<br>--  To build API documentation use 'make doc'<br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /home/andrey/digikam/build<br>Now run make in /home/andrey/digikam/build.<br></div><div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 16, 2018 at 6:07 AM Andrey Goreev <<a href="mailto:aegoreev@gmail.com" target="_blank">aegoreev@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Looks like I am missing /usr/lib/x86_64-linux-gnu/<a href="http://libavfilter.so" target="_blank">libavfilter.so</a></div><div><br></div><div>I will check on it in an hour or so. Thanks for your help!</div><div><br></div><div id="m_-2890169746252875577m_-5974323931861720827composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Sent from my Samsung Galaxy smartphone.</div></div><div><br></div><div style="font-size:100%;color:#000000"><div>-------- Original message --------</div><div>From: Andrew Goodbody <<a href="mailto:ajg02@elfringham.co.uk" target="_blank">ajg02@elfringham.co.uk</a>> </div><div>Date: 2018-11-15  4:35 PM  (GMT-07:00) </div><div>To: Andrey Goreev <<a href="mailto:aegoreev@gmail.com" target="_blank">aegoreev@gmail.com</a>> </div><div>Subject: Re: [digiKam-users] bootstrap can't find ffmpeg </div><div><br></div></div>Without digging into the CMake macros I do not know what it is actually <br>searching for.<br><br>However for me the output is<br><br>-- FFMPEG_FOUND        = TRUE<br>-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu<br>-- FFMPEG_LIBRARIES    = <br>/usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavfilter.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>Note the additional libavfilter.so. I do not know if that is significant <br>or not.<br><br>Andrew<br><br>On 15/11/2018 16:19, Andrey Goreev wrote:<br>> Hello,<br>> <br>> <br>> I am trying to compile digikam-git on ubuntu 18.04 but keep getting this <br>> error message:<br>> <br>> -- FFMPEG_FOUND = FALSE<br>> -- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu<br>> -- FFMPEG_LIBRARIES = <br>> /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>> I compiled ffmpeg myself but bootstrap did not find it.<br>> <br>> Then I installed ffmpeg from ubuntu repos but bootstrap can't seem to <br>> locate it either.<br>> <br>> <br>> I checked and the files<br>> <br>> /usr/lib/x86_64-linux-gnu/libavcodec.so;<br>> <br>> /usr/lib/x86_64-linux-gnu/libavformat.so;<br>> <br>> /usr/lib/x86_64-linux-gnu/libavutil.so;<br>> <br>> /usr/lib/x86_64-linux-gnu/libswscale.so<br>> <br>> actually exist, here is screenshots:<br>> <br>> <br>> <a href="https://www.flickr.com/gp/goreev/8B4172" target="_blank">https://www.flickr.com/gp/goreev/8B4172</a><br>> <br>> <a href="https://www.flickr.com/gp/goreev/1iF173" target="_blank">https://www.flickr.com/gp/goreev/1iF173</a><br>> <br>> <a href="https://www.flickr.com/gp/goreev/G584Fn" target="_blank">https://www.flickr.com/gp/goreev/G584Fn</a><br>> <br>> <a href="https://www.flickr.com/gp/goreev/U2Bc83" target="_blank">https://www.flickr.com/gp/goreev/U2Bc83</a><br>> <br>> <br>> Any ideas?<br>> <br>> <br>> Best regards,<br>> Andrey<br></div></blockquote></div>
</blockquote></div>