On 25.02.2018 20:20, Félix David wrote:
Hi Jb,
Thanks for answering !
First of all, I have Mint 18.3 Sylvia 64-bit.
I had Qt 5.5.1, I'm downloading Qt 5.10.1 then it's gonna be okay I think.
Oh, I didn't know Mint provided such a poor Qt support. Then it won't be
that simple, because Kdenlive relies on the KDE frameworks libraries,
which have to be compiled with the same Qt version as Kdenlive. You will
need to remove all system KDE libraries and manually rebuild. Compile
the following KDE frameworks in that exact order :
||
|extra-cmake-modules karchive kconfig kwidgetsaddons kcompletion
kcoreaddons polkit-qt-1 kauth kcodecs kdoctools kguiaddons ki18n
kconfigwidgets kwindowsystem kcrash kdbusaddons kitemviews kiconthemes
kjobwidgets kservice solid sonnet ktextwidgets attica kglobalaccel
kxmlgui kbookmarks kio knotifications|
||knotifyconfig knewstuff kpackage kdeclarative||
||breeze-icons kdecoration breeze| These libraries are all available
through git with the following command :|
||
git clone git://anongit.kde.org/$FRAMEWORK (where $FRAMEWORK is the name of
each framework)
|Then for each framework you need to create a build dir, and compile
using something like: cmake .. -DCMAKE_INSTALL_PREFIX=/usr
-DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON If you are interested, I have a
script to build the AppImage version that might help you (but will need
several changes to work directly) at:
https://cgit.kde.org/kdenlive.git/tree/packaging/appimage/01-dependencies.sh?h=refactoring_timeline&id=5ecd42394298cad227613e2db4711fa837f148c0
|
I've tryed "apt-get install kf5gui-devel" and "apt-get install
kf5gui-dev" but none of them worked.
Is there any command to remove everything about mlt-data ? (Sorry I'm
not a great linux user)
In "/usr/", I've done this : sudo rm libmlt*
And no more libmlt in it. There was libmlt.so.6.5.0 and it's not
anymore, then it's good I guess.
I've try to run after that : cmake ../kdenlive_git
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_INSTALL_PREFIX=/usr/local
But the error message didn't change. That's strange, because there is
no "/usr/lib/x86_64-linux-gnu/libmlt.so".
I checked in /usr/local/lib/ and everything seems good, I have all mlt
6.6.0 files. And in ./pkgconfig there is no mlt.pc but mlt++.pc is right.
Check if you have the file mlt-framework.pc, you can see its content with:
cat mlt-framework.pc
Check the version there. You probably have a .pc file pointing to 6.5.0
version in /usr/lib/pkgconfig. Easiest is probably to delete these 2
files and reinstall MLT.
Kdenlive tries to locate MLT using pkg-config. You can verify with the
following command:
pkg-config --libs mlt-framework
It should output something like:
-L/usr/local/lib -lmlt
And /usr/local/lib should contain your 6.6.0 libraries
Regards
jb
Regards,
Félix
2018-02-25 19:29 GMT+01:00 <j...@kdenlive.org <mailto:j...@kdenlive.org>>:
On February 25, 2018 7:05:11 PM GMT+01:00, "Félix David"
<felixg.da...@gmail.com <mailto:felixg.da...@gmail.com>> wrote:
>Hi everyone,
>
>I'm new(bie) in Kdenlive development and for now I'm trying to build
>the
>last refactoring_timeline version as explained on the website's
>development
>page.
>
>I've followed steps until installing MLT V6.6.0. I've done steps
>explained
>in this page :
>https://community.kde.org/Kdenlive/Development/KF5#Get_the_Qt5.2FKF5_branch_of_Kdenlive
<https://community.kde.org/Kdenlive/Development/KF5#Get_the_Qt5.2FKF5_branch_of_Kdenlive>
>And everything is going well. But, at this step :
Hello Félix and nice to hear from you!
One problem I have seen recently is that you need Qt >= 5.7 so I
hope your distro has it because otherwise you will need to find a
workaround like a virtual machine.
><---
>
>cmake .. -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
>-DCMAKE_INSTALL_PREFIX=/usr/local
>--->
>
>I have this error message :
><---
>-- Could NOT find KF5XmlGui , checked the following files:
> /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake
>(version 5.18.0)
> /usr/lib/x86_64-linux-gnu/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake
>(version 5.18.0)
The cannot find KF5XmlGui is a bit strange, make sure you have
installed the kf5gui-devel package.
>-- KF5 < 5.23.0 Disable icon coloring
>-- Found KF5 FileMetadata to extract file metadata
>CMake Error at
>/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
>(message):
>Could NOT find MLT: Found unsuitable version "6.5.0", but required is
>at
> least "6.6.0" (found /usr/lib/x86_64-linux-gnu/libmlt.so)
>Call Stack (most recent call first):
>
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:386
>(_FPHSA_FAILURE_MESSAGE)
> cmake/modules/FindMLT.cmake:59 (find_package_handle_standard_args)
> CMakeLists.txt:105 (find_package)
You probably have old MLT on your system. Make sure you have
removed the mlt-data and libmlt packages. From the log it looks
like you have a previous version. Check with:
ls -la /usr/lib/x86_64-linux-gnu/libmlt*
Do you have 6.5.0 libs ? If yes remove them.
You can also check the pkgconfig files (usually in
/usr/lib/pkgconfig) there should be mlt.pc and mlt++.pc pointing
to your new MLT 6.6.0 libraries... maybe you also have an other
library for pkgconfig that contains older files.
I usually recommand removing all MLT packages and installing
manually in /usr to avoid having several places for MLT
Let me know if that helps and otherwise tell us which distro you
have it might help.
Regards
Jb
>
>-- Configuring incomplete, errors occurred!
>See also
>"/home/felix/kdenlive/kdenlive_git/CMakeFiles/CMakeOutput.log".
>--->
>
>Regarding MLT, when I do this :
><---
>$ melt --version
>melt 6.6.0
>Copyright (C) 2002-2018 Meltytech, LLC
>--->
>
>Then it seems right, but cmake doesn't find it.
>
>What should I do ? Thank you for your help !
>
>Best regards,
>
>Félix
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
25 rue Baudet 93200 Saint-Denis
06.48.69.07.64
felixg.da...@gmail.com <mailto:felixg.da...@gmail.com>