[digiKam-users] bootstrap can't find ffmpeg
Gilles Caulier
caulier.gilles at gmail.com
Fri Nov 16 14:01:08 GMT 2018
But the problem is clear :
-- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES
AVFILTER_INCLUDE_DIRS)
-- FFMPEG_FOUND = FALSE
-- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
-- 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
-- FFMPEG_DEFINITIONS =
==> missing: AVFILTER_LIBRARIES AVFILTER_INCLUDE_DIRS
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)
In other words, your ffmpeg install in not complete or broken.
Gilles Caulier
Le ven. 16 nov. 2018 à 14:55, Andrey Goreev <aegoreev at gmail.com> a écrit :
> No, libavfilter is installed too...
>
> /usr/lib/x86_64-linux-gnu/libavfilter.so
>
>
> All libav* are installed along with their *-dev versions.
>
>
> Here is the complete output.
> Any ideas?
>
> ./bootstrap.linux
> Qt5 Install Path : /usr
> digiKam Install Path : /usr
> CMake binary : cmake
> Build Directory : /home/andrey/digikam/build
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: digikam-software-collection
> -- Main one documentation directory is missing. Compilation of
> documentation is disabled...
> -- Documentation translations directory is missing.
> -- You can use DIGIKAMSC_CHECKOUT_DOC option to extract doc i18n files
> from git repositories.
> --
> ----------------------------------------------------------------------------------
> -- Compilation configuration for: digikam-software-collection
> -- digiKam core will be compiled.................. YES
> -- Extract application translations files......... NO
> -- Extract documentation translations files....... NO
> -- Translations will be compiled.................. NO
> -- Handbooks will be compiled..................... NO
> -- Tests code will be compiled.................... YES
> --
> ----------------------------------------------------------------------------------
> -- Starting CMake configuration for: digikam
> -- Could not set up the appstream test. appstreamcli is missing.
> -- Could NOT find KF5Vkontakte: found neither KF5VkontakteConfig.cmake nor
> kf5vkontakte-config.cmake
> -- KF5::KIOWidgets include dirs:
> /usr/include/KF5/KIOWidgets;/usr/include/KF5
> -- Libjpeg version: 84
> -- Using libjpeg sub-directory: libjpeg/84
> -- Boost version: 1.65.1
> -- Found lcms version 2.09, /usr/lib/x86_64-linux-gnu/liblcms2.so
> -- EXIV2_FOUND = TRUE
> -- EXIV2_VERSION = 0.27.0
> -- EXIV2_INCLUDE_DIR = /usr/local/include
> -- EXIV2_LIBRARY = /usr/local/lib/libexiv2.so
> -- EXIV2_DEFINITIONS =
> -- Could NOT find FFmpeg (missing: AVFILTER_LIBRARIES
> AVFILTER_INCLUDE_DIRS)
> -- FFMPEG_FOUND = FALSE
> -- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
> -- 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
> -- FFMPEG_DEFINITIONS =
> -- QtAV search path: /usr/lib/x86_64-linux-gnu/cmake
> -- Found QtAV version 1.12.0
> -- QtAV_FOUND = TRUE
> -- QtAV_INCLUDE_DIR = /usr/include/x86_64-linux-gnu/qt5/QtAV
> /usr/include/x86_64-linux-gnu/qt5/QtAVWidgets
> -- QtAV_LIBRARIES =
> /usr/lib/x86_64-linux-gnu/libQtAV.so;/usr/lib/x86_64-linux-gnu/libQtAVWidgets.so
> -- QtAV_VERSION = 1.12.0
> -- ENABLE_MEDIAPLAYER option is enabled but FFMpeg cannot be found. Media
> player support is disabled.
> -- First try at finding OpenCV...
> -- OpenCV Root directory is: /usr/local/lib/cmake/opencv4
> -- OpenCV: Found version 4.0.0 (required: 3.1.0)
> -- OpenCV headers: /usr/local/include/opencv4
> -- OpenCV libs :
> opencv_core;opencv_objdetect;opencv_imgproc;opencv_imgcodecs
> -- Marble_FOUND = TRUE
> -- MARBLE_INCLUDE_DIR = /usr/include
> -- MARBLE_LIBRARIES = /usr/lib/x86_64-linux-gnu/libmarblewidget-qt5.so
> -- ASTRO_LIBRARIES = /usr/lib/x86_64-linux-gnu/libastro.so
> -- libgphoto2 found : TRUE
> -- libgphoto2 version : 2.5.16
> -- libgphoto2 includes : /usr/include/gphoto2
> -- 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/
> libusb-1.0.so
> -- libgphoto2 API version >= 2.5
> -- liblensfun: Found version 0.3.2.0 (required: 0.2.6.0)
> --
> -- --------------------------------------------------
> -- digiKam RawEngine dependencies checks:
> --
> -- RawEngine will be compiled with RedCine codec
> -- Looking for LibJpeg
> -- RawEngine will be compiled with DNG lossy codec
> -- Looking for PThreads
> -- --------------------------------------------------
> --
> --
> --
> ----------------------------------------------------------------------------------
> -- digiKam 6.0.0-beta3 dependencies results <http://www.digikam.org>
> --
> -- MySQL Database Support will be compiled.. YES (optional)
> -- MySQL Internal Support will be compiled.. YES (optional)
> -- DBUS Support will be compiled............ YES (optional)
> -- App. Style Support will be compiled...... YES (optional)
> -- QWebEngine Support will be compiled...... NO (optional)
> -- libboostgraph found...................... YES
> -- libexiv2 found........................... YES
> -- libexpat found........................... YES
> -- libjpeg found............................ YES
> -- libkde found............................. YES
> -- liblcms found............................ YES
> -- libopencv found.......................... YES
> -- libpng found............................. YES
> -- libpthread found......................... YES
> -- libqt found.............................. YES
> -- libtiff found............................ YES
> -- bison found.............................. YES (optional)
> -- doxygen found............................ YES (optional)
> -- flex found............................... YES (optional)
> -- libakonadicontact found.................. YES (optional)
> -- libeigen3 found.......................... YES (optional)
> -- libgphoto2 found......................... YES (optional)
> -- libjasper found.......................... YES (optional)
> -- libkcalcore found........................ YES (optional)
> -- libkvkontakte found...................... NO (optional)
> -- digiKam will be compiled without libkvkontakte support.
> -- Please install the libkvkontakte (version >= 4.70.0) development
> package.
> --
> -- libkfilemetadata found................... YES (optional)
> -- libkiconthemes found..................... YES (optional)
> -- libkio found............................. YES (optional)
> -- libknotifications found.................. YES (optional)
> -- libknotifyconfig found................... YES (optional)
> -- libksane found........................... YES (optional)
> -- liblensfun found......................... YES (optional)
> -- liblqr-1 found........................... YES (optional)
> -- libmarble found.......................... YES (optional)
> -- libqtav found............................ YES (optional)
> -- libthreadweaver found.................... YES (optional)
> -- libxml2 found............................ YES (optional)
> -- libxslt found............................ YES (optional)
> -- OpenGL found............................. YES (optional)
> -- digiKam can be compiled.................. YES
> --
> ----------------------------------------------------------------------------------
> --
> -- ==> Doxygen is found: TRUE
> -- ==> Graphviz Dot is found: YES
> -- To build API documentation use 'make doc'
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /home/andrey/digikam/build
> Now run make in /home/andrey/digikam/build.
>
>
> On Fri, Nov 16, 2018 at 6:07 AM Andrey Goreev <aegoreev at gmail.com> wrote:
>
>> Looks like I am missing /usr/lib/x86_64-linux-gnu/libavfilter.so
>>
>> I will check on it in an hour or so. Thanks for your help!
>>
>> Sent from my Samsung Galaxy smartphone.
>>
>> -------- Original message --------
>> From: Andrew Goodbody <ajg02 at elfringham.co.uk>
>> Date: 2018-11-15 4:35 PM (GMT-07:00)
>> To: Andrey Goreev <aegoreev at gmail.com>
>> Subject: Re: [digiKam-users] bootstrap can't find ffmpeg
>>
>> Without digging into the CMake macros I do not know what it is actually
>> searching for.
>>
>> However for me the output is
>>
>> -- FFMPEG_FOUND = TRUE
>> -- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
>> -- FFMPEG_LIBRARIES =
>>
>> /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
>> -- FFMPEG_DEFINITIONS =
>>
>> Note the additional libavfilter.so. I do not know if that is significant
>> or not.
>>
>> Andrew
>>
>> On 15/11/2018 16:19, Andrey Goreev wrote:
>> > Hello,
>> >
>> >
>> > I am trying to compile digikam-git on ubuntu 18.04 but keep getting
>> this
>> > error message:
>> >
>> > -- FFMPEG_FOUND = FALSE
>> > -- FFMPEG_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu
>> > -- 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
>> > -- FFMPEG_DEFINITIONS =
>> >
>> > I compiled ffmpeg myself but bootstrap did not find it.
>> >
>> > Then I installed ffmpeg from ubuntu repos but bootstrap can't seem to
>> > locate it either.
>> >
>> >
>> > I checked and the files
>> >
>> > /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
>> >
>> > actually exist, here is screenshots:
>> >
>> >
>> > https://www.flickr.com/gp/goreev/8B4172
>> >
>> > https://www.flickr.com/gp/goreev/1iF173
>> >
>> > https://www.flickr.com/gp/goreev/G584Fn
>> >
>> > https://www.flickr.com/gp/goreev/U2Bc83
>> >
>> >
>> > Any ideas?
>> >
>> >
>> > Best regards,
>> > Andrey
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20181116/8651ecca/attachment.html>
More information about the Digikam-users
mailing list