Installation from source

Topics about compilation and installation of Kdenlive from its source-code tarballs

make errors compiling from latest stable source code "doc/index.cache.bz2" and "doc/CMakeFiles/doc-handbook.dir/all"

Hello everyone, i checked everywhere by this error but couldn`t find anything related. I`m running ubuntu studio 12.04 updated and trying to compile from latest stable source code using the instructions on that very same site: After compiling sucefully mlt, frei0r and ffmpeg i cannot compile kdenlive. This is what i get after quite some time:

Scanning dependencies of target doc-handbook
[ 98%] Generating index.cache.bz2
index.docbook:5: warning: failed to load external entity "dtd/kdex.dtd"
index.docbook:6: parser error : Entity 'language' not defined

index.docbook:6: validity error : Validation failed: no DTD found !

index.docbook:18: parser error : Entity 'FDLNotice' not defined

Unable to build kdenlive (not from builder script, neither from step-by-step-compiling)

Scanning dependencies of target kdenlive
[ 33%] [ 34%] Building CXX object src/CMakeFiles/kdenlive.dir/kdenlive_automoc.o
[ 34%] Building CXX object src/CMakeFiles/kdenlive.dir/beziercurve/beziersplineeditor.o
Building CXX object src/CMakeFiles/kdenlive.dir/beziercurve/beziersplinewidget.o
In file included from /home/flypp/kdenlive/src/kdenlive/src/moc_collapsiblegroup.cpp:10:0,
from /home/flypp/kdenlive/src/kdenlive/src/kdenlive_automoc.cpp:6:
/home/flypp/kdenlive/src/kdenlive/src/effectstack/collapsiblegroup.h:25:36: fatal error: ui_collapsiblegroup_ui.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/kdenlive.dir/kdenlive_automoc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/kdenlive.dir/all] Error 2
make: *** [all] Error 2
ERROR: Unable to build kdenlive

The file "collapsiblegroup.h" says:

#include ui_collapsiblegroup_ui.h

Installing Kdenlive

I have followed the instructions here:

I am compiling all to the /opt directory


ffmpeg, frei0r, mlt, all compile fine.

But Kdenlive stops compilation at

-- checking for module 'mlt++'
-- package 'mlt++' not found
CMake Error at cmake/modules/FindLIBMLT.cmake:70 (message):
Could not find MLT++

error installing MLT on debian

Hi and sorry for not exhaustively searching for threads..

I'm with debian squeeze 64bit, attempting to follow the kdenlive user-manual, I get the following result with the make -j3 command installing mlt:

/home/dav/mlt/src/modules/avformat/filter_avcolour_space.c:147: undefined reference to `img_convert'
producer_avformat.o: In function `convert_image':
/home/dav/mlt/src/modules/avformat/producer_avformat.c:1361: undefined reference to `img_convert'
/home/dav/mlt/src/modules/avformat/producer_avformat.c:1355: undefined reference to `img_convert'
/home/dav/mlt/src/modules/avformat/producer_avformat.c:1343: undefined reference to `img_convert'
/home/dav/mlt/src/modules/avformat/producer_avformat.c:1349: undefined reference to `img_convert'
consumer_avformat.o:/home/dav/mlt/src/modules/avformat/consumer_avformat.c:1731: more undefined references to `img_convert' follow
collect2: ld returned 1 exit status
make[2]: *** [../] Error 1

Right repository for Kdenlive stable

I add

Is this right or whatelse ???

I did have some problems with kdenlive-data version.


Build OK but runs only with valgrind

Hi There
I'v checked out latest MLT and KDEnlive (FFmpeg from opensuse repos).

mlt is 7.7, kdenlive is v0.8.2-270-g1988023

The build process is ok, but when i start kdenlive from command line i get this:

MLT 0.7.6 installed from source, but not found by Kdenlive (Solved)

well I finally found an open source video editor that does the trick. I installed kdenlive from the debian squeeze repos and was pretty satisfied with it. now I just want the latest version.

I installed the latest QJson and MLT from git without any problems. the only thing missing from my MLT compile was swfdec, but I compiled with --enable-gpl, ran make clean and make -j3 and installed successfully.

the only problem is, kdenlive doesn't seem to recognize that I have MLT 0.7.6. I get the following when I run cmake .. -DCMAKE_INSTALL_PREFIX=/usr :

Current Kdenlive Git revision is v0.8.2-270-g1988023
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/
CMake Warning (dev) at /usr/share/cmake-2.8/Modules/CheckCXXCompilerFlag.cmake:23 (INCLUDE):
File /usr/share/cmake-2.8/Modules/CheckCXXCompilerFlag.cmake includes
/usr/share/kde4/apps/cmake/modules/CheckCXXSourceCompiles.cmake (found via
CMAKE_MODULE_PATH) which shadows

MLT build error


I'm building MLT following the directions here:

When I get to the step where I execute "make -j3" I get the following error.

cc -shared -o ../ factory.o filter_avcolour_space.o filter_avresample.o filter_avdeinterlace.o filter_swscale.o producer_avformat.o consumer_avformat.o -L../../framework -lmlt -lpthread -Wl,--no-undefined -Wl,--as-needed -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lavformat -lavcodec -lavutil -lswscale -lavdevice
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavformat.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [../] Error 1
make[2]: Leaving directory `/home/homology/mlt/src/modules/avformat'

2012 1 27 git: build fails @ imageproperties/captionedit.cpp

Fedora 15 on x86-64:

/home/photo/rpmbuild/BUILD/digikam-sc/core/libs/imageproperties/imagedescedittab.cpp: In member function 'void Digikam::ImageDescEditTab::readSettings(KConfigGroup&)':
/home/photo/rpmbuild/BUILD/digikam-sc/core/libs/imageproperties/imagedescedittab.cpp:449:19: error: 'class KExiv2Iface::AltLangStrEdit' has no member named 'setCurrentLanguageCode'
make[2]: *** [core/digikam/CMakeFiles/digikam.dir/__/libs/imageproperties/imagedescedittab.cpp.o] Error 1


error building from build script: unable to build libvpx

Hello. Until know I always used repositories to install kdenlive. Now, I got some advice using build script in order to have the newest version keeping the last stable one as well.
Anyway, following the instruction I keep getting the following error message:
[DEP] vpx_config.c.d
[CC] vpx_config.c.o
[AS] vp8/common/x86/iwalsh_mmx.asm.o
vp8/common/x86/iwalsh_mmx.asm:27: error: invalid combination of opcode and operands
make[1]: *** [vp8/common/x86/iwalsh_mmx.asm.o] Erreur 1
make: *** [.DEFAULT] Erreur 2


Subscribe to RSS - Installation from source