[Solved] kdenlive mlt buildscript build error

The build is almost finished! Any help will be greatly appreciated.
Is there some dependency missing?
While running version 11 of build-kdenlive.sh, at 90% of kdenlive build:

/home/builden/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:668:1: warning: ‘class IDeckLinkIterator’ has virtual functions and accessible non-virtual destructor
/home/builden/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:722:1: warning: ‘class IDeckLink’ has virtual functions and accessible non-virtual destructor
/home/builden/kdenlive/src/kdenlive/src/stopmotion/stopmotion.cpp: In constructor ‘StopmotionWidget::StopmotionWidget(MonitorManager*, KUrl, QList, QWidget*)’:
/home/builden/kdenlive/src/kdenlive/src/stopmotion/stopmotion.cpp:187:5: error: ‘m_effectIndex’ was not declared in this scope
/home/builden/kdenlive/src/kdenlive/src/stopmotion/stopmotion.cpp: In member function ‘void StopmotionWidget::slotUpdateOverlayEffect(QAction*)’:
/home/builden/kdenlive/src/kdenlive/src/stopmotion/stopmotion.cpp:340:14: error: ‘m_effectIndex’ was not declared in this scope
/home/builden/kdenlive/src/kdenlive/src/stopmotion/stopmotion.cpp:341:43: error: ‘m_effectIndex’ was not declared in this scope
/home/builden/kdenlive/src/kdenlive/src/stopmotion/stopmotion.cpp: In member function ‘void StopmotionWidget::slotUpdateOverlay()’:
/home/builden/kdenlive/src/kdenlive/src/stopmotion/stopmotion.cpp:570:13: error: ‘m_effectIndex’ was not declared in this scope
/home/builden/kdenlive/src/kdenlive/src/stopmotion/stopmotion.cpp: At global scope:
/home/builden/kdenlive/src/kdenlive/src/stopmotion/stopmotion.cpp:884:15: warning: unused parameter ‘profile’
make[2]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/stopmotion/stopmotion.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/builden/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:34:0,
from /home/builden/kdenlive/src/kdenlive/src/blackmagic/capture.h:4,
from /home/builden/kdenlive/src/kdenlive/src/blackmagic/capture.cpp:50:
/home/builden/kdenlive/src/kdenlive/src/blackmagic/include/LinuxCOM.h:90:1: warning: ‘class IUnknown’ has virtual functions and accessible non-virtual destructor
In file included from /home/builden/kdenlive/src/kdenlive/src/blackmagic/capture.h:4:0,
from /home/builden/kdenlive/src/kdenlive/src/blackmagic/capture.cpp:50:
/home/builden/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:646:1: warning: ‘class IDeckLinkMemoryAllocator’ has virtual functions and accessible non-virtual destructor
/home/builden/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:659:1: warning: ‘class IDeckLinkAudioOutputCallback’ has virtual functions and accessible non-virtual destructor
/home/builden/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:668:1: warning: ‘class IDeckLinkIterator’ has virtual functions and accessible non-virtual destructor
/home/builden/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:722:1: warning: ‘class IDeckLink’ has virtual functions and accessible non-virtual destructor
make[1]: *** [src/cmake_bindir/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

Found it was needing libqimageblitz dev.