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

Compile Failure

Tags: None
(comma "," separated)
mpierce
Registered Member
Posts
12
Karma
0

Compile Failure

Fri Nov 16, 2007 1:40 am

Compiling for Kubuntu Gutsy.



Compile fails at this point and I can not figure it out:

./kdenlive/documentmacrocommands.o: In function `Command::DocumentMacroCommands::razorSelectedClipsAt(Gui::KdenliveApp*, KdenliveDoc*, GenTime const&)':

documentmacrocommands.cpp:(.text+0x123): undefined reference to `Command::KRazorClipsCommand::KRazorClipsCommand(Gui::KdenliveApp*, KdenliveDoc*, DocTrackBase&, GenTime)'

./kdenlive/trackpanelrazorfunction.o: In function `TrackPanelRazorFunction::mousePressed(Gui::KTrackPanel*, QMouseEvent*)':

trackpanelrazorfunction.cpp:(.text+0x557): undefined reference to `Command::KRazorClipsCommand::KRazorClipsCommand(Gui::KdenliveApp*, KdenliveDoc*, DocTrackBase&, GenTime)'

./kdenlive/trackpaneltransitionmovefunction.o: In function `TrackPanelTransitionMoveFunction::mouseReleased(Gui::KTrackPanel*, QMouseEvent*)':

trackpaneltransitionmovefunction.cpp:(.text+0xce): undefined reference to `Command::KMoveTransitionCommand::KMoveTransitionCommand(KdenliveDoc*, DocClipRef*, Transition*, GenTime, GenTime, GenTime, GenTime)'

./kdenlive/trackpaneltransitionresizefunction.o: In function `TrackPanelTransitionResizeFunction::mouseReleased(Gui::KTrackPanel*, QMouseEvent*)':

trackpaneltransitionresizefunction.cpp:(.text+0xcc): undefined reference to `Command::KMoveTransitionCommand::KMoveTransitionCommand(KdenliveDoc*, DocClipRef*, Transition*, GenTime, GenTime, GenTime, GenTime)'

trackpaneltransitionresizefunction.cpp:(.text+0x1ae): undefined reference to `Command::KMoveTransitionCommand::KMoveTransitionCommand(KdenliveDoc*, DocClipRef*, Transition*, GenTime, GenTime, GenTime, GenTime)'

collect2: ld returned 1 exit status

Error creating ./kdenlive/kdenlive. Exit status 1.

holzi
Registered Member
Posts
4
Karma
0

Re: Compile Failure

Sat Nov 17, 2007 10:17 pm

I have the same problem on Ubuntu Gutsy.

mpierce
Registered Member
Posts
12
Karma
0

Re: Compile Failure

Sun Nov 18, 2007 7:24 pm

The instructions are wrong for this version of the SVN checkout (Kdenlive 0.6).

The problem is caused by unsermake.



Remove this package from your system and install cmake



Best to do a make clean checkout and then do:

sh bootstrap

./configure --prefix=/usr --enable-gpl --enable-swscaler --enable-libmp3lame --enable-liba52 --enable-libogg --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libfaad --enable-libfaac

cmake -DCMAKE_INSTALL_PREFIX=/usr .

(# the last dot is important! Substitute whatever /path/to/dir/you/want)

make

sudo make install

(# in my configure, the program will be installed in /usr/bin as I can always install kdenlive 0.5 from the repository)



Hope this helps...

toohes
Registered Member
Posts
11
Karma
0

Re: Compile Failure

Thu Nov 22, 2007 11:36 am

I have got

>>> Unpacking source...
* subversion update start -->
* repository: https://kdenlive.svn.sourceforge.net/svnroot/kdenlive/trunk/kdenlive
At revision 1736.
* working copy: /usr/portage/distfiles/svn-src/kdenlive/kdenlive

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-video/kdenlive-99999/work ...
sh: bootstrap: No such file or directory
/usr/local/overlays/local/media-video/kdenlive/kdenlive-99999.ebuild: line 53: ./configure: No such file or directory


If I remove these lines (bootstrap and configure) then a build is errorless. But I get a run-time error:

Failed to load plugin: libavformat.so.51: cannot open shared object file: No such file or directory

Why 51? My current libavformat.so version is 52 (ffmpeg is from svn as well).



I have tried to rebuild the svn mlt (may be it is its old dependency?) but have got an error again:

producer_avformat.c: In function ‘producer_open’:
producer_avformat.c:206: error: ‘AVFormatParameters’ has no member named ‘device’


j-b-m
Registered Member
Posts
804
Karma
1

Re: Compile Failure

Sat Nov 24, 2007 1:56 pm

There were some recent changes in FFMEG modifying the API. For now it is not possible to compile MLT against FFMPEG svn, we will need to patch MLT...



Hopefully this should not be too long...

regards

toohes
Registered Member
Posts
11
Karma
0

Re: Compile Failure

Sat Nov 24, 2007 10:32 pm

Thanks for answer and thanks in advance for patch





Bookmarks



Who is online

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