I actually compiled ffmpeg following this guide first CompilationGuide/Ubuntu – FFmpeg but I had some issues with it later (digikam compiler did not detect it) so I purged it and installed from the repo.
Install libx264 and libx264-dev for h264 support (optional)
CMake suite maintained and supported by Kitware (kitware.com/cmake).
– Starting CMake configuration for digikam
– 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.
– Top level compilation configuration for digikam
– digikam 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
– Check dependencies for digikam version 7.2.0-beta1
– Could NOT find KF5Sane , checked the following files:
/usr/lib/x86_64-linux-gnu/cmake/KF5Sane/KF5SaneConfig.cmake (version 5.1.0)
– 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
– Checking for module ‘x265’
– Package x265 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x265.pc’
to the PKG_CONFIG_PATH environment variable
Package ‘x265’, required by ‘world’, not found
– Could NOT find X265 (missing: X265_INCLUDE_DIRS X265_LIBRARIES)
CMake Error at core/CMakeLists.txt:181 (find_package):
By not providing “Findexiv2.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “exiv2”, but
CMake did not find one.
Could not find a package configuration file provided by “exiv2” with any of
the following names:
exiv2Config.cmake
exiv2-config.cmake
Add the installation prefix of “exiv2” to CMAKE_PREFIX_PATH or set
“exiv2_DIR” to a directory containing one of the above files. If “exiv2”
provides a separate development package or SDK, be sure it has been
installed.
How to solve this error ?
I have already installed it via
sudo apt install libkf5sane-dev
error: ‘class QScopedPointerDigikam::DMetadata’ has no member named ‘get’
I am trying to compile digikam and when i ran “make -j4” i get this error
/home/vishal/Desktop/gsoc_digi/digikam/core/libs/properties/geolocation/itempropertiesgpstab.cpp:336:22: error: ‘class QScopedPointerDigikam::DMetadata’ has no member named ‘get’ setMetadata(meta.get(), url); ^~~
/home/vishal/Desktop/gsoc_digi/digikam/core/libs/properties/itempropertiessidebardb.cpp: In member function ‘virtual void Digikam::ItemPropertiesSideBarDB::slotChangedTab(QWidget*)’: /home/vishal/Desktop/gsoc_digi/digikam/core/libs/properties/itempropertiessidebardb.cpp:277:48: error: ‘class QScopedPointerDigikam::DMetadata’ has no member named ‘get’ m_metadataTab->setCurrentData(data.get(), m_currentURL.fileName());
^~~
core/libs/properties/CMakeFiles/core_itemproperties_obj.dir/build.make:206: recipe for target ‘core/libs/properties/CMakeFiles/core_itemproperties_obj.dir/geolocation/itempropertiesgpstab.cpp.o’ failed make[2]: *** [core/libs/properties/CMakeFiles/core_itemproperties_obj.dir/geolocation/itempropertiesgpstab.cpp.o]
Error 1 CMakeFiles/Makefile2:3709: recipe for target ‘core/libs/properties/CMakeFiles/core_itemproperties_obj.dir/all’ failed make[1]: *** [core/libs/properties/CMakeFiles/core_itemproperties_obj.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs…
[ 24%] Building CXX object core/libs/models/CMakeFiles/core_digikamgenericmodels_obj.dir/core_digikamgenericmodels_obj_autogen/mocs_compilation.cpp.o core/libs/properties/CMakeFiles/gui_itempropertiesdigikam_obj.dir/build.make:158: recipe for target ‘core/libs/properties/CMakeFiles/gui_itempropertiesdigikam_obj.dir/itempropertiessidebardb.cpp.o’ failed make[2]: *** [core/libs/properties/CMakeFiles/gui_itempropertiesdigikam_obj.dir/itempropertiessidebardb.cpp.o] Error 1
CMakeFiles/Makefile2:3672: recipe for target ‘core/libs/properties/CMakeFiles/gui_itempropertiesdigikam_obj.dir/all’ failed
make[1]: *** [core/libs/properties/CMakeFiles/gui_itempropertiesdigikam_obj.dir/all] Error 2 [ 24%] Building CXX object core/libs/models/CMakeFiles/gui_digikammodels_obj.dir/itemalbumfiltermodel.cpp.o [ 24%] Building CXX object core/libs/models/CMakeFiles/gui_digikammodels_obj.dir/abstractalbummodel.cpp.o [ 24%] Building CXX object core/libs/models/CMakeFiles/gui_digikammodels_obj.dir/albummodel.cpp.o [ 24%] Built target core_digikamgenericmodels_obj [ 24%] Building CXX object core/libs/models/CMakeFiles/gui_digikammodels_obj.dir/albumfiltermodel.cpp.o [ 24%] Building CXX object core/libs/models/CMakeFiles/gui_digikammodels_obj.dir/albummodeldragdrophandler.cpp.o [ 24%] Building CXX object core/libs/models/CMakeFiles/gui_digikammodels_obj.dir/gui_digikammodels_obj_autogen/mocs_compilation.cpp.o
[ 24%] Built target gui_digikammodels_obj Makefile:140: recipe for target ‘all’ failed make: *** [all] Error 2