Bug 352831 - master doesn't build with mlt 0.9.4
Summary: master doesn't build with mlt 0.9.4
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdenlive
Classification: Applications
Component: Setup & Installation (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 10:22 UTC by Harald Sitter
Modified: 2015-12-14 21:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 15.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2015-09-17 10:22:52 UTC
apparently kdenlive master wants newer mlt than 0.9.4 but doesn't check for it:

-- Found MLT: /usr/lib/x86_64-linux-gnu/libmlt.so (found suitable version "0.9.4", minimum required is "0.9.4") 

|
|
v

[ 48%] Building CXX object src/CMakeFiles/kdenlive.dir/timeline/headertrack.cpp.o
cd src && /usr/bin/x86_64-linux-gnu-g++   -DKCOREADDONS_LIB -DKGUIADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_QML_LIB -DQT_QUICK_LIB -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kdenlive\" -DUSE_JOGSHUTTLE -DUSE_V4L -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2  -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type  -fPIC -fPIE -I. -I../../src -I.. -I../../src/lib/external -I../../src/lib -Ilib/external/kiss_fft -I../../src/lib/external/kiss_fft -Ilib/external/media_ctrl -I../../src/lib/external/media_ctrl -I/usr/include/mlt -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtScript -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KPlotting -isystem /usr/include/KF5/KArchive -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -I/usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KIOWidgets -I/usr/include/KF5/KJobWidgets -I/usr/include/KF5/KCompletion -isystem /usr/include/KF5/KBookmarks -I/usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/KF5/KConfigWidgets -I/usr/include/KF5/KCodecs -I/usr/include/KF5/KConfigGui -I/usr/include/KF5/KAuth -isystem /usr/include/KF5/Solid -isystem /usr/include/KF5/KNotifyConfig -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KDBusAddons -isystem /usr/include/KF5/KGuiAddons -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg    -o CMakeFiles/kdenlive.dir/timeline/headertrack.cpp.o -c ../../src/timeline/headertrack.cpp
../../src/timeline/customtrackview.cpp: In member function 'void CustomTrackView::addTrack(const TrackInfo&, int)':
../../src/timeline/customtrackview.cpp:3038:17: error: 'class Mlt::Transition' has no member named 'set_tracks'
             tr->set_tracks(ix, ix + 1);
                 ^
../../src/timeline/customtrackview.cpp: In member function 'void CustomTrackView::setAudioAlignReference()':
../../src/timeline/customtrackview.cpp:6518:160: warning: 'Mlt::Producer* Render::getTrackProducer(const QString&, int, bool, bool)' is deprecated (declared at ../../src/renderer.h:294) [-Wdeprecated-declarations]
             AudioEnvelope *envelope = new AudioEnvelope(clip->binClip()->url().path(), m_document->renderer()->getTrackProducer(clip->getBinId(), clip->track()));
                                                                                                                                                                ^
../../src/timeline/customtrackview.cpp: In member function 'void CustomTrackView::alignAudio()':
../../src/timeline/customtrackview.cpp:6557:164: warning: 'Mlt::Producer* Render::getTrackProducer(const QString&, int, bool, bool)' is deprecated (declared at ../../src/renderer.h:294) [-Wdeprecated-declarations]
                 AudioEnvelope *envelope = new AudioEnvelope(clip->binClip()->url().path(), m_document->renderer()->getTrackProducer(clip->getBinId(), clip->track()), info.cropStart.frames(m_document->fps()), info.cropDuration.frames(m_document->fps()), clip->track(), info.startPos.frames(m_document->fps()));
                                                                                                                                                                    ^
make[4]: *** [src/CMakeFiles/kdenlive.dir/timeline/customtrackview.cpp.o] Error 1


Reproducible: Always
Comment 1 Vincent PINON 2015-12-05 07:36:42 UTC
MLT 0.9.8 is required since bf8f6804 (15.03.80 alpha release)