This forum has been archived. All content is frozen. Please use KDE Discuss instead.

I got error messages when building kdenlive with mltframework.org's scripts

Tags: None
(comma "," separated)
sicomoro
Registered Member
Posts
36
Karma
0
Hi,

I'm trying to build the kdenlive's new version but when I try to build with the script from mltframework.org I get this messages:

from /home/edicion01/kdenlive/src/kdenlive/src/v4l/src.c:20:
/home/edicion01/kdenlive/src/kdenlive/src/v4l/videodev2.h:790: warning: declaration does not declare anything
/home/edicion01/kdenlive/src/kdenlive/src/v4l/videodev2.h:1278: warning: declaration does not declare anything
/home/edicion01/kdenlive/src/kdenlive/src/v4l/videodev2.h:1400: warning: declaration does not declare anything
Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/onmonitoritems/rotoscoping/bpointitem.o
/home/edicion01/kdenlive/src/kdenlive/src/v4l/videodev2.h:1451: warning: declaration does not declare anything
[ 99%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/onmonitoritems/rotoscoping/nearestpoint.o
[ 99%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/onmonitoritems/rotoscoping/splineitem.o
[100%] [100%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlivesettings.o
Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/rotoscoping/rotowidget.o
In file included from /home/edicion01/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:34,
from /home/edicion01/kdenlive/src/kdenlive/src/blackmagic/devices.h:5,
from /home/edicion01/kdenlive/src/kdenlive/src/mltdevicecapture.cpp:24:
/home/edicion01/kdenlive/src/kdenlive/src/blackmagic/include/LinuxCOM.h:90: warning: 'class IUnknown' has virtual functions and accessible non-virtual destructor
In file included from /home/edicion01/kdenlive/src/kdenlive/src/blackmagic/devices.h:5,
from /home/edicion01/kdenlive/src/kdenlive/src/mltdevicecapture.cpp:24:
/home/edicion01/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:379: warning: 'class IDeckLinkMemoryAllocator' has virtual functions and accessible non-virtual destructor
/home/edicion01/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:391: warning: 'class IDeckLinkAudioOutputCallback' has virtual functions and accessible non-virtual destructor
/home/edicion01/kdenlive/src/kdenlive/src/blackmagic/include/DeckLinkAPI.h:399: warning: 'class IDeckLinkIterator' has virtual functions and accessible non-virtual destructor
[100%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/mainwindowadaptor.o
make[2]: *** No rule to make target `/usr/lib/libGL.so', needed by `src/cmake_bindir/kdenlive'. Stop.
make[2]: *** Waiting for unfinished jobs....
[100%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/qrc_resources.o
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

The script from mltframework.org never failed. This is the forst time I get errors.

Can someone tell what error is this?

Best regards
sicomoro
Registered Member
Posts
36
Karma
0
Any one can detetct what kind of error is breaking the building please so I can try to fix it?

Best regards
j-b-m
Registered Member
Posts
804
Karma
1
Which version of Qt do you have? Might be similar to the issue reported here:

http://kdenlive.org/mantis/view.php?id=2340
sicomoro
Registered Member
Posts
36
Karma
0
Hi j-b-m,

I resolved the issue.

It was a problem nouveau with my NVIDIA driver and the openGL.

I blacklisted the nouveau drivers and reinstalled the propietary NVIDIA driver and it worked fine.

Here how to do it:

http://linuxers.org/howto/how-remove-nouveau-drivers-ubuntu

Best regards
sicomoro
Registered Member
Posts
36
Karma
0
Now, I have a new problem.. Kdenlive was building fine, but today I get this message:

LOG: Configuring, compiling, and installing kdenlive
LOG: About to run command: pushd .
~/kdenlive/src ~/kdenlive/src
LOG: About to run command: cd kdenlive
LOG: PATH=/home/edicion01/kdenlive/20111111/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
LOG: LD_RUN_PATH=/home/edicion01/kdenlive/20111111/lib
LOG: PKG_CONFIG_PATH=/home/edicion01/kdenlive/20111111/lib/pkgconfig:
LOG: CFLAGS=-I/home/edicion01/kdenlive/20111111/include
LOG: LDFLAGS=
LOG: Configuring kdenlive
LOG: About to run command: rm -f CMakeCache.txt
LOG: About to run command: cmake -DCMAKE_INSTALL_PREFIX=/home/edicion01/kdenlive/20111111 -DCMAKE_BUILD_TYPE=debugfull
CMake Error: The source directory "/home/edicion01/kdenlive/src/kdenlive" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
ERROR: Unable to configure kdenlive
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to configure kdenlive



could it be a repository problem? It says that the build script can't find the 'CMakeLists.txt' file.

Can someone help me please?

Best regards
j-b-m
Registered Member
Posts
804
Karma
1
We moved our source repository from sourceforge svn to KDE's git server. The build script still tries to fetch source from sourceforge svn, which is why it fails.

Unless someone is faster than me, I will post an updated version of the build script in the next 2 days.

regards
j-b-m
Registered Member
Posts
804
Karma
1
The build script on mltframework.org has now been updated to use the new git repository. (You might need to delete the previous $HOME/kdenlive/src/kdenlive folder to get rid of the previous svn checkout).

The new script also changed the location of the Kdenlive config file (kdenliverc), and instead of using the standard $HOME/.kde/share/config folder, it now saves the config file in the build script install folder, for example:

$HOME/kdenlive/20111114/.kde/share/config

This means that your settings are not kept from one version to another, but also that you won't have problems with kdenlive using MLT from a previously installed version.
sicomoro
Registered Member
Posts
36
Karma
0
Thanks a lot j-b-m.. first I got problems with lame library but know it works again.

Best regards
sicomoro
Registered Member
Posts
36
Karma
0
Thanks a lot j-b-m.. first I got problems with lame library but now it works again.

Best regards


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]