I cannot build with script from mltframework.org


I'm trying to build kdenlive from the mltframework.org's script, but I have this error:

[ 61%] Building CXX object src/CMakeFiles/kdenlive.dir/onmonitoritems/rotoscoping/splineitem.o
/home/edicion01/kdenlive/src/kdenlive/src/utils/resourcewidget.cpp:209: warning: unused parameter 'play'
/home/edicion01/kdenlive/src/kdenlive/src/utils/resourcewidget.cpp:220: warning: unused parameter 'state'
/home/edicion01/kdenlive/src/kdenlive/src/utils/resourcewidget.cpp: In member function 'void ResourceWidget::slotSaveItem(QString)':
/home/edicion01/kdenlive/src/kdenlive/src/utils/resourcewidget.cpp:251: error: 'KFileItem' was not declared in this scope
/home/edicion01/kdenlive/src/kdenlive/src/utils/resourcewidget.cpp:251: error: expected ';' before 'info'
/home/edicion01/kdenlive/src/kdenlive/src/utils/resourcewidget.cpp:252: error: 'info' was not declared in this scope
[ 61%] Building CXX object src/CMakeFiles/kdenlive.dir/rotoscoping/rotowidget.o
make[2]: *** [src/CMakeFiles/kdenlive.dir/utils/resourcewidget.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
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build kdenlive

Can someone please tell how to fix this and build kdenlive?



This is now fixed in the source code, try running the script again, should work fine now.