Skip to main content

Building KDE4 version - beta packages?

14 posts / 0 new
Last post
doitux
Offline
Joined: 10/07/2008
Posts:
Building KDE4 version - beta packages?

Can anybody tell me how to build the KDE4 version?

Building on openSUSE fails with:

Generating moc_clipmanager.cpp
Scanning dependencies of target kdenlive
[ 32%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlive_automoc.o
In file included from /home/doitux/Programme/kdenlive-svn/src/kdenlive/src/cmake_bindir/moc_initeffects.cpp:10,
                 from /home/doitux/Programme/kdenlive-svn/src/kdenlive/src/cmake_bindir/kdenlive_automoc.cpp:5:
/home/doitux/Programme/kdenlive-svn/src/kdenlive/src/cmake_bindir/../initeffects.h:50: error: ISO C++ forbids declaration of ‘Repository’ with no type
/home/doitux/Programme/kdenlive-svn/src/kdenlive/src/cmake_bindir/../initeffects.h:50: error: invalid use of ‘::’
/home/doitux/Programme/kdenlive-svn/src/kdenlive/src/cmake_bindir/../initeffects.h:50: error: expected ‘;’ before ‘*’ token
/home/doitux/Programme/kdenlive-svn/src/kdenlive/src/cmake_bindir/../initeffects.h:51: error: ‘Mlt::Repository’ has not been declared
/home/doitux/Programme/kdenlive-svn/src/kdenlive/src/cmake_bindir/../initeffects.h:52: error: ‘Mlt::Repository’ has not been declared
make[2]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlive_automoc.o] Fehler 1
make[1]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/all] Fehler 2

I also tried the kdenlive_builder scripts from this forum but there i have a lot of problems with mlt build.

Is there any chance to get beta-packages to help testing and debugging the new version?

0
Your rating: None
vopycak
Offline
Joined: 07/04/2008
Posts:
Re: Building KDE4 version - beta packages?

Hallo,
I have the same problem on SUSE11, I was trying compile it a lot of times without success

V.

cmake 

-- Found Qt-Version 4.4.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found KDE 4.1 include dir: /usr/include
-- Found KDE 4.1 library dir: /usr/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/bin/automoc4
-- Found MLT INSTALL PATH: /usr/bin/mlt-config , /usr
-- Found MLT INCLUDES: /usr/include/mlt
-- Found MLT LIBR: /usr/lib/libmlt.so
-- Found MLT library: /usr/lib/libmlt.so
-- Found MLT++ INCLUDES: /usr/include
-- Found MLT++ LIBR: /usr/lib/libmlt++.so
-- Found MLT++ library: /usr/lib/libmlt++.so
-- Found FFmpeg Libavformat includes: /usr/include/ffmpeg
-- Found FFmpeg Libavformat library: /usr/lib/libavformat.so
-- Found msgfmt: /usr/bin/msgfmt
-- Found Soprano: /usr/lib/libsoprano.so
-- Found Soprano includes: /usr/include
-- Found Soprano Index: /usr/lib/libsopranoindex.so
-- Found Soprano Client: /usr/lib/libsopranoclient.so
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/kdenlive4

make
tucnak:/usr/src/kdenlive4 # make
[  1%] Generating ui_clipdurationdialog_ui.h
Generating addmarkercommand.moc
Generating trackview.moc
Generating monitor.moc
Generating resizeclipcommand.moc
Generating effectslistwidget.moc
/usr/src/kdenlive4/src/addmarkercommand.h:0: Warning: No relevant classes found. No output generated.
Generating recmonitor.moc
/usr/src/kdenlive4/src/resizeclipcommand.h:0: Warning: No relevant classes found. No output generated.
Generating customruler.moc
Generating renderjob.moc
Generating regiongrabber.moc
Generating clipitem.moc
Generating addeffectcommand.moc
Generating projectsettings.moc
/usr/src/kdenlive4/src/addeffectcommand.h:0: Warning: No relevant classes found. No output generated.
Generating complexparameter.moc
Generating projectlistview.moc
Generating kthumb.moc
Generating projectlist.moc
Generating effectstackview.moc
Generating kdenlivedoc.moc
Generating renderer.moc
Generating effectslistview.moc
Generating markerdialog.moc
Generating mainwindow.moc
Generating moveeffectcommand.moc
Generating moc_titlewidget.cpp
/usr/src/kdenlive4/src/moveeffectcommand.h:0: Warning: No relevant classes found. No output generated.
Generating addfoldercommand.moc
/usr/src/kdenlive4/src/addfoldercommand.h:0: Warning: No relevant classes found. No output generated.
Generating customtrackview.moc
Generating editeffectcommand.moc
Generating editguidecommand.moc
/usr/src/kdenlive4/src/editeffectcommand.h:0: Warning: No relevant classes found. No output generated.
Generating addclipcommand.moc
/usr/src/kdenlive4/src/addclipcommand.h:0: Warning: No relevant classes found. No output generated.
Generating labelitem.moc
/usr/src/kdenlive4/src/editguidecommand.h:0: Warning: No relevant classes found. No output generated.
Generating projectitem.moc
Generating addtimelineclipcommand.moc
/usr/src/kdenlive4/src/labelitem.h:0: Warning: No relevant classes found. No output generated.
Generating editkeyframecommand.moc
/usr/src/kdenlive4/src/addtimelineclipcommand.h:0: Warning: No relevant classes found. No output generated.
Generating kdenlivesettingsdialog.moc
/usr/src/kdenlive4/src/projectitem.h:0: Warning: No relevant classes found. No output generated.
Generating smallruler.moc
/usr/src/kdenlive4/src/editkeyframecommand.h:0: Warning: No relevant classes found. No output generated.
Generating profilesdialog.moc
Generating clipdurationdialog.moc
Generating renderwidget.moc
Generating moveclipcommand.moc
Generating statusbarmessagelabel.moc
Generating monitormanager.moc
/usr/src/kdenlive4/src/moveclipcommand.h:0: Warning: No relevant classes found. No output generated.
Generating clipproperties.moc
Generating editfoldercommand.moc
Generating slideshowclip.moc
/usr/src/kdenlive4/src/editfoldercommand.h:0: Warning: No relevant classes found. No output generated.
Generating headertrack.moc
Generating moc_abstractclipitem.cpp
Generating moc_graphicsscenerectmove.cpp
Generating moc_transition.cpp
Generating moc_jogshuttle.cpp
Generating moc_clipmanager.cpp
Generating moc_initeffects.cpp
Generating moc_effectstackedit.cpp
Generating moc_docclipbase.cpp
Generating moc_transitionsettings.cpp
Generating moc_parameterplotter.cpp
[  1%] Generating kdenlivesettings.h, kdenlivesettings.cpp
[  2%] Generating kdenlivesettings.moc
/usr/src/kdenlive4/src/cmake_bindir/kdenlivesettings.h:0: Warning: No relevant classes found. No output generated.
[  3%] Generating ui_timeline_ui.h
[  4%] Generating ui_monitor_ui.h
[  5%] Generating ui_recmonitor_ui.h
[  6%] Generating ui_colorclip_ui.h
[  7%] Generating ui_slideshowclip_ui.h
[  8%] Generating ui_configmisc_ui.h
[  9%] Generating ui_configenv_ui.h
[ 10%] Generating ui_configdisplay_ui.h
[ 11%] Generating ui_configcapture_ui.h
[ 12%] Generating ui_effectlist_ui.h
[ 13%] Generating ui_effectstack_ui.h
[ 14%] Generating ui_profiledialog_ui.h
[ 15%] Generating ui_projectsettings_ui.h
[ 16%] Generating ui_keyframewidget_ui.h
[ 17%] Generating ui_constval_ui.h
[ 18%] Generating ui_listval_ui.h
[ 19%] Generating ui_wipeval_ui.h
[ 20%] Generating ui_boolval_ui.h
[ 21%] Generating ui_colorval_ui.h
[ 22%] Generating ui_titlewidget_ui.h
[ 23%] Generating ui_timelinebuttons_ui.h
[ 24%] Generating ui_renderwidget_ui.h
[ 25%] Generating ui_saveprofile_ui.h
[ 26%] Generating ui_transitionsettings_ui.h
[ 27%] Generating ui_configjogshuttle_ui.h
[ 28%] Generating ui_trackheader_ui.h
[ 29%] Generating ui_clipproperties_ui.h
[ 30%] Generating ui_markerdialog_ui.h
[ 31%] Generating ui_keyframedialog_ui.h
[ 31%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlive_automoc.o
In file included from /usr/src/kdenlive4/src/cmake_bindir/moc_transition.cpp:10,
                 from /usr/src/kdenlive4/src/cmake_bindir/kdenlive_automoc.cpp:3:
/usr/src/kdenlive4/src/cmake_bindir/../transition.h:73: error: ‘QLinearGradient’ does not name a type
In file included from /usr/src/kdenlive4/src/cmake_bindir/moc_initeffects.cpp:10,
                 from /usr/src/kdenlive4/src/cmake_bindir/kdenlive_automoc.cpp:7:
/usr/src/kdenlive4/src/cmake_bindir/../initeffects.h:50: error: ISO C++ forbids declaration of ‘Repository’ with no type
/usr/src/kdenlive4/src/cmake_bindir/../initeffects.h:50: error: invalid use of ‘::’
/usr/src/kdenlive4/src/cmake_bindir/../initeffects.h:50: error: expected ‘;’ before ‘*’ token
/usr/src/kdenlive4/src/cmake_bindir/../initeffects.h:51: error: ‘Mlt::Repository’ has not been declared
/usr/src/kdenlive4/src/cmake_bindir/../initeffects.h:52: error: ‘Mlt::Repository’ has not been declared
make[2]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/kdenlive_automoc.o] Error 1
make[1]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/all] Error 2
make: *** [all] Error 2

vopycak
Offline
Joined: 07/04/2008
Posts:
Re: Building KDE4 version - beta packages?

It's possible to compile kde4-kdenlive, but there is necesarry to use unstable MLT and MLT++ framework. Toni built rpm package for SUSE (it's in packman respository) but kdenlive during start crash. I was trying recompile it by myself with the same effect.

vasek@tucnak:~/.kde/share/config> kdenlive
kdenlive(3929) MainWindow::parseProfiles: RESULTING MLT PATH:  "/usr/share/mlt/profiles/"
KCrash: Application 'kdenlive' crashing...
sock_file=/home/vasek/.kde4/socket-tucnak/kdeinit4__1
vasek@tucnak:~/.kde/share/config>

Application: Kdenlive (kdenlive), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb57998e0 (LWP 3929)]
[KCrash handler]
#6  0xb2a96b54 in QMutexPool::get () from /usr/lib/libqt-mt.so.3
#7  0xb279f96a in QMetaObjectCleanUp::QMetaObjectCleanUp ()
   from /usr/lib/libqt-mt.so.3
#8  0xb2b497e9 in ?? () from /usr/lib/libqt-mt.so.3
#9  0xb2b49b8d in ?? () from /usr/lib/libqt-mt.so.3
#10 0xb26ad558 in _init () from /usr/lib/libqt-mt.so.3
#11 0xb7f581e4 in ?? () from /lib/ld-linux.so.2
#12 0xb7f58314 in ?? () from /lib/ld-linux.so.2
#13 0xb7f5c27b in ?? () from /lib/ld-linux.so.2
#14 0xb7f57e26 in ?? () from /lib/ld-linux.so.2
#15 0xb7f5ba2c in ?? () from /lib/ld-linux.so.2
#16 0xb6677c0f in ?? () from /lib/libdl.so.2
#17 0xb7f57e26 in ?? () from /lib/ld-linux.so.2
#18 0xb66780dc in ?? () from /lib/libdl.so.2
#19 0xb6677b41 in dlopen () from /lib/libdl.so.2
#20 0xb7f448a0 in mlt_repository_init () from /usr/lib/libmlt.so.0
#21 0x082ec3a0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
#0  0xffffe430 in __kernel_vsyscall ()

g.marco
Offline
Joined: 12/12/2007
Posts:
Re: Building KDE4 version - beta packages?

a short summary:
the error:

Mlt::Repository’ has not been declared

mean: the mlt++ version ist too old (mlt version maybe also to old)
solution:
update to latest svn version of mlt/mlt++ since kdenlive kde4 i developed against this

the crash with the qt-mt.so.3 comes from the qt3 module in mlt, when mlt is used with qt4 environment (as it is in kdelive-kde4)

remove the libmltqimage.so which is installed with mlt and the crash should not happen again.
newer mlt has a fix for that (qt4 environment does now only create a qt3 version=)

i hope this helps

vopycak
Offline
Joined: 07/04/2008
Posts:
Re: Building KDE4 version - beta packages?

Hi,
I already did it ....
but kdenlive crash .....

/usr/local/bin/kdenlive
kdenlive(11024) MainWindow::parseProfiles: RESULTING MLT PATH:  "/usr/local/share/mlt/profiles/"
mlt_repository.c, mlt_repository_init: failed to dlopen /usr/local/lib/mlt/libmltavformat.so
kdenlive(11024) initEffects::fillTransitionsList: //// ////  TRANSITON XML
kdenlive(11024) initEffects::fillTransitionsList: "
 Composite
 
  Geometry
 
 
  Reverse Transition
 

"
kdenlive(11024) initEffects::fillTransitionsList: "/usr/local/share/mlt/lumas/PAL" 22
kdenlive(11024) initEffects::fillTransitionsList: //// ////  TRANSITON XML
kdenlive(11024) initEffects::fillTransitionsList: "
 Luma
 
  Softness
 
 
  Invert
 
 
  ImageFile
 
 
  Reverse Transition
 

"
kdenlive(11024) initEffects::fillTransitionsList: //// ////  TRANSITON XML
kdenlive(11024) initEffects::fillTransitionsList: "
 Mix
 
  Reverse Transition
 

"
kdenlive(11024) initEffects::fillTransitionsList: //// ////  TRANSITON XML
kdenlive(11024) initEffects::fillTransitionsList: "
 Region
 
  Reverse Transition
 

"
kdenlive(11024) initEffects::fillTransitionsList: //// ////  TRANSITON XML
kdenlive(11024) initEffects::fillTransitionsList: "
 AffineComposite
 
  Rotate Y
 
 
  Rotate X
 
 
  Rotate Z
 
 
  Fix Rotate Y
 
 
  Fix Rotate X
 
 
  Fix Rotate Z
 
 
  Shear Y
 
 
  Shear X
 
 
  Shear Z
 
 
  Fix Shear Y
 
 
  Fix Shear X
 
 
  Fix Shear Z
 
 
  Mirror
 
 
  Repeat
 
 
  Geometry
 
 
  Reverse Transition
 

"
kdenlive(11024) initEffects::parseEffectFiles: //  INIT EFFECT SEARCH
QLayout: Attempting to add QLayout "" to QFrame "frame", which already has a layout
QLayout: Attempting to add QLayout "" to QFrame "frame", which already has a layout
QLayout: Attempting to add QLayout "" to QFrame "frame", which already has a layout
QLayout: Attempting to add QLayout "" to QFrame "frame", which already has a layout
kdenlive(11024) TransitionSettings::TransitionSettings: 6
kdenlive(11024) Render::Render: //////////  USING PROFILE:  hdv_1080_50i
kdenlive(11024) Monitor::Monitor: /////// BUILDING MONITOR, ID:  41943184
kdenlive(11024) Render::Render: //////////  USING PROFILE:  hdv_1080_50i
kdenlive(11024) Monitor::Monitor: /////// BUILDING MONITOR, ID:  41943231
kdenlive(11024) RecMonitor::RecMonitor: /////// BUILDING MONITOR, ID:  41943247
QStatusBar::insertPermanentWidget: Index out of range (5), appending widget
QStatusBar::insertPermanentWidget: Index out of range (7), appending widget
kdenlive(11024) MainWindow::MainWindow: KXMLGUIFactory(0x853d8a0)   KMenu(0x8565220, name = "video_effects_menu")
kdenlive(11024) KdenliveDoc::KdenliveDoc: // init profile, ratnum:  25 ,  25 , width:  1440
kdenlive(11024) KdenliveDoc::KdenliveDoc: KDEnnlive document, init timecode:  25
kdenlive(11024) TrackView::slotAddProjectTrack: *************  ADD DOC TRACK  4 , DURATION:  0
kdenlive(11024) TrackView::slotAddProjectTrack: *************  ADD DOC TRACK  3 , DURATION:  0
kdenlive(11024) TrackView::slotAddProjectTrack: *************  ADD DOC TRACK  2 , DURATION:  0
kdenlive(11024) TrackView::slotAddProjectTrack: *************  ADD DOC TRACK  1 , DURATION:  0
kdenlive(11024) TrackView::slotAddProjectTrack: *************  ADD DOC TRACK  0 , DURATION:  0
kdenlive(11024) CustomTrackView::setDuration: /////////////  PRO DUR:  300 , SCALE.  500 , height:  250
kdenlive(11024) TrackView::parseDocument: ///////////  TOTAL PROJECT DURATION:  300
kdenlive(11024) CustomTrackView::setScale:  HHHHHHHH  SCALING:  3.6
kdenlive(11024) MainWindow::connectDocument: ///////////////////   CONNECTING DOC TO PROJECT VIEW ////////////////
kdenlive(11024) Render::resetProfile:  ++++++++++ RESET CONSUMER WITH PROFILE:  "hdv_1080_50i" , WIDTH:  1440
kdenlive(11024) Render::resetProfile:  ++++++++++ RESET CONSUMER WITH PROFILE:  "hdv_1080_50i" , WIDTH:  1440
kdenlive(11024) Render::setSceneList: //////  RENDER, SET SCENE LIST:  "
 
 
 
 
 
 
 
  
  
  
  
  
  
  
   1
   2
   mix
   1
   237
  
  
   1
   3
   mix
   1
   237
  
  
   1
   4
   mix
   1
   237
  
  
   1
   5
   mix
   1
   237
  
 

"
kdenlive(11024) Render::setSceneList: // NEW SCENE LIST DURATION SET TO:  0
kdenlive(11024) Monitor::adjustRulerSize: RULER WIDT:  640 , RENDER LENGT:  0 , SCALE:  inf
kdenlive(11024) SmallRuler::setPixelPerMark:  RULER SET RATE:  inf
kdenlive(11024) CustomTrackView::setDuration: /////////////  PRO DUR:  0 , SCALE.  2880 , height:  250
KCrash: Application 'kdenlive' crashing...
sock_file=/home/vasek/.kde4/socket-tucnak/kdeinit4__0

sam_uk
Offline
Joined: 12/20/2007
Posts:
Re: Building KDE4 version - beta packages?

I got to 35% built and it failed with this:

[ 35%] Building CXX object src/cmake_bindir/CMakeFiles/kdenlive.dir/mainwindow.o In file included from /home/user/build/kdenlive4/kdenlive/src/clipproperties.h:29,

* from /home/user/build/kdenlive4/kdenlive/src/mainwindow.cpp:77:

/home/user/build/kdenlive4/kdenlive/src/cmake_bindir/ui_clipproperties_ui.h: In member function ‘void Ui_ClipProperties_UI::setupUi(QDialog*)’: /home/user/build/kdenlive4/kdenlive/src/cmake_bindir/ui_clipproperties_ui.h:348: error: ‘class QTreeWidget’ has no member named ‘setHeaderHidden’ make[2]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/mainwindow.o] Error 1 make[1]: *** [src/cmake_bindir/CMakeFiles/kdenlive.dir/all] Error 2 make: *** [all] Error 2

I documented what I did here

https://help.ubuntu.com/community/KdenliveSVN

anyone help?

Thanks

Sam

reinhard
Offline
Joined: 03/30/2007
Posts:
Re: Building KDE4 version - beta packages?

Hi,

I've recieved a hint from the kdenlive-devel list that qt 4.4 is needed.

Good luck ;)

billstei
Offline
Joined: 04/12/2007
Posts:
Re: Building KDE4 version - beta packages?

I was able to build and run kdenlive kde4 on Ubuntu Hardy. Here are some of my notes (which may not be comprehensive, sorry, but let me know what I missed...)

Added software repositories:

deb

http://debian-multimedia.org

testing main
deb

http://debian-multimedia.org

unstable main

Installed mlt. mlt++, and ffmpeg from the repositories.

Installed kde4-devel package

Get latest kdenlive svn:

svn co

https://kdenlive.svn.sourceforge.net/sv ... nches/KDE4

kdenlivekde4

Compile like this (note that important single dot/period at the end of cmake line):

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS:STRING="-Wno-write-strings" .
make
sudo checkinstall --install=no

Use dpkg to install the resulting deb package.

To stop kdenlive from nagging about where the profiles are (from package libmlt-data) I made a symlink:

/usr/share/mlt/profiles -> /usr/lib/mlt/profiles

To stop kdenlive from immediately crashing I removed /usr/lib/mlt/libmltqimage.so (which came from package libmlt0.2.5)

No doubt compiling the latest mlt, mlt++ and ffmpeg will have advantages. But I am glad just to have it run. The biggest problem I seem to have is that adding an audio clip (wav or mp3) causes a lock up (sometimes).

Bill

billstei
Offline
Joined: 04/12/2007
Posts:
Re: Building KDE4 version - beta packages?

Okay, here's the first thing I forgot in my notes... right before calling cmake I needed this:

PATH=/usr/lib/kde4/bin:$PATH

Otherwise it will complain that it can't find (run) kde4-config.

Bill

vopycak
Offline
Joined: 07/04/2008
Posts:
Re: Building KDE4 version - beta packages?

Hello,

I have still problem with immediately crashing kdenlive. I would like to send strace log but it's not possible here.

g.marco
Offline
Joined: 12/12/2007
Posts:
Re: Building KDE4 version - beta packages?

could you post a gdb backtrace ?

vopycak
Offline
Joined: 07/04/2008
Posts:
Re: Building KDE4 version - beta packages?

Application: Kdenlive (kdenlive), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb5c0a6d0 (LWP 25497)]
[KCrash handler]
#5  mlt_properties_fetch (this=0x0, name=0xb3001983 "forced")
    at mlt_properties.c:285
#6  0xb800787f in mlt_properties_set_int (this=0x0, name=0xb3001983 "forced", 
    value=3) at mlt_properties.c:591
#7  0xb30014ac in consumer_start (parent=0x8443920) at consumer_sdl_still.c:159
#8  0xb80107a4 in mlt_consumer_start (this=0x8443920) at mlt_consumer.c:341
#9  0xb2fff818 in consumer_start (parent=0x8457160)
    at consumer_sdl_preview.c:208
#10 0xb80107a4 in mlt_consumer_start (this=0x8457160) at mlt_consumer.c:341
#11 0xb7fe3980 in Mlt::Consumer::start () from /usr/local/lib/libmlt++.so.0
#12 0x080d8978 in Render::start (this=0x83e55e8)
    at /usr/src/kdenlivekde4/src/renderer.cpp:889
#13 0x08104166 in MonitorManager::activateMonitor (this=0x836f390, name=
      {static null = {}, static shared_null = {ref = {_q_value = 13006}, alloc = 0, size = 0, data = 0x8273d9a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 90}, alloc = 0, size = 0, data = 0xb75e142e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xbfb34038, static codecForCStrings = 0x0})
    at /usr/src/kdenlivekde4/src/monitormanager.cpp:53
#14 0x081041f5 in MonitorManager::resetProfiles (this=0x836f390, prof=
      {static null = {}, static shared_null = {ref = {_q_value = 13006}, alloc = 0, size = 0, data = 0x8273d9a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 90}, alloc = 0, size = 0, data = 0xb75e142e, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xbfb340c0, static codecForCStrings = 0x0})
    at /usr/src/kdenlivekde4/src/monitormanager.cpp:115
#15 0x0809fb24 in MainWindow::connectDocument (this=0x83002d8, 
    trackView=0x8584c98, doc=0x857df88)
    at /usr/src/kdenlivekde4/src/mainwindow.cpp:1040
#16 0x080a0815 in MainWindow::activateDocument (this=0x83002d8)
    at /usr/src/kdenlivekde4/src/mainwindow.cpp:763
#17 0x080a798c in MainWindow::qt_metacall (this=0x83002d8, 
    _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfb3422c)
    at /usr/src/kdenlivekde4/src/cmake_bindir/mainwindow.moc:190
#18 0xb755645a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb75569d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb6ffc2b3 in QTabWidget::currentChanged () from /usr/lib/libQtGui.so.4
#21 0xb6ffcae4 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb6ffdc37 in QTabWidget::qt_metacall () from /usr/lib/libQtGui.so.4
#23 0xb7e12c5a in KTabWidget::qt_metacall () from /usr/lib/libkdeui.so.5
#24 0xb755645a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb75569d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb6ff4093 in QTabBar::currentChanged () from /usr/lib/libQtGui.so.4
#27 0xb6ff58aa in QTabBar::setCurrentIndex () from /usr/lib/libQtGui.so.4
#28 0xb6ffb98a in QTabBar::insertTab () from /usr/lib/libQtGui.so.4
#29 0xb6ffe157 in QTabWidget::insertTab () from /usr/lib/libQtGui.so.4
#30 0xb6ffe27a in QTabWidget::addTab () from /usr/lib/libQtGui.so.4
#31 0x080a0cfa in MainWindow::newFile (this=0x83002d8)
    at /usr/src/kdenlivekde4/src/mainwindow.cpp:752
#32 0x080a31f3 in MainWindow (this=0x83002d8, parent=0x0)
    at /usr/src/kdenlivekde4/src/mainwindow.cpp:275
#33 0x08093761 in main (argc=1, argv=0xbfb34a74)
    at /usr/src/kdenlivekde4/src/main.cpp:61
#0  0xffffe430 in __kernel_vsyscall ()

g.marco
Offline
Joined: 12/12/2007
Posts:
Re: Building KDE4 version - beta packages?

it seems like kdenlive did not get a proper sdl windows for the monitor.

this problem was know and fixed in kde3 version, but kde4 had this problem not.

you have 2 monitor windows at the same time open ?

does this crash happen every or only sometimes ?
inigo can play files for you right ?

billstei
Offline
Joined: 04/12/2007
Posts:
Re: Building KDE4 version - beta packages?

In my previous post(s) I indicated that I removed libmltqimage.so in order to stop the immediate crash in Kdenlive, but the better solution is to (re)compile MLT (and MLT++) using qt4. This I accomplished by passing the following to the MLT configure:

./configure --prefix=/usr --kde-libdir=/usr/lib/kde4 --kde-includedir=/usr/lib/kde4/include --qimage-libdir=/usr/lib --qimage-includedir=/usr/include/qt4 --enable-gpl --avformat-swscale --enable-motion-est --enable-mmx --enable-debug

the key parameters being the locations of the qt4 lib and include dirs, as found in my Ubuntu Hardy system, which the mlt configure then indicates that it is using qt4 for qimage.

Also the frei0r test compile that occurs in the frei0r configure fails unnecessarily (apparently from the $CFLAGS parameter being null when it should at least be -I/usr/include ) and I simply commented out the entire test clause in [MLT Source Dir]/src/modules/frei0r/configure and from what I can tell, the frei0r module compiles fine.

The MLT++ configure had nothing unusual, like this:

./configure --prefix=/usr --enable-debug

Having installed these MLT and MLT++ builds (SVN 1163), I no longer have lock-ups when placing audio tracks, and things seem to be working pretty good.

Bill

Edit: The frei0r test problem is the -e parameter being passed to echo when using /bin/sh