[Kdenlive-devel] Build help for kdenlive please

Chris Clayton chris at theclaytons.freeserve.co.uk
Sat Jan 11 16:18:28 UTC 2003


Hi, 

I've grabbed the latest CVS of piave and kdenlive this afternoon - although, I 
see Rolf committed changes to Piave since :). Piave built fine but I have 
problems with kdenlive. Compiler is GCC 2.95.3, make is 3.80, QT is 3.0.4, 
kde is 3.0.5a, automake is 1.4 and autoconf is 2.13. All running on Peanut 
Linux v9.3r1 with kernel 2.4.20

Bootstrap and configure end fine but output from make is as follows:

make  all-recursive
make[1]: Entering directory `/home/chris/src/kdenlive'
Making all in kdenlive
make[2]: Entering directory `/home/chris/src/kdenlive/kdenlive'
/usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -o 
rendersetupdlg_ui.h ./rendersetupdlg_ui.ui
/usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -o 
kmmrulerpanel_ui.h ./kmmrulerpanel_ui.ui
/usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -o 
kmmeditpanel_ui.h ./kmmeditpanel_ui.ui
/usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -o 
projectlist_ui.h ./projectlist_ui.ui
/usr/lib/qt3/bin/uic -L /opt/kde3/lib/kde3/plugins/designer -nounload -o 
addtrackdialog_ui.h ./addtrackdialog_ui.ui
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -O2 -mcpu=i386 
-fno-strength-reduce -fno-exceptions -fno-check-new  -c aveffectparam.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -O2 -mcpu=i386 
-fno-strength-reduce -fno-exceptions -fno-check-new  -c aveffect.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -O2 -mcpu=i386 
-fno-strength-reduce -fno-exceptions -fno-check-new  -c renderdebugpanel.cpp
renderdebugpanel.cpp: In method `RenderDebugPanel::RenderDebugPanel(QWidget * 
= 0, const char * = 0)':
renderdebugpanel.cpp:24: `LogText' undeclared (first use this function)
renderdebugpanel.cpp:24: (Each undeclared identifier is reported only once
renderdebugpanel.cpp:24: for each function it appears in.)
renderdebugpanel.cpp: In method `void RenderDebugPanel::slotPrintWarning(const 
QString &)':
/usr/lib/qt3/include/qstring.h:607: `class QString & QString::replace(const 
QString &, const QString &)' is private
renderdebugpanel.cpp:35: within this context
/usr/lib/qt3/include/qstring.h:607: `class QString & QString::replace(const 
QString &, const QString &)' is private
renderdebugpanel.cpp:36: within this context
renderdebugpanel.cpp: In method `void RenderDebugPanel::slotPrintError(const 
QString &)':
/usr/lib/qt3/include/qstring.h:607: `class QString & QString::replace(const 
QString &, const QString &)' is private
renderdebugpanel.cpp:44: within this context
/usr/lib/qt3/include/qstring.h:607: `class QString & QString::replace(const 
QString &, const QString &)' is private
renderdebugpanel.cpp:45: within this context
renderdebugpanel.cpp: In method `void RenderDebugPanel::slotPrintDebug(const 
QString &)':
/usr/lib/qt3/include/qstring.h:607: `class QString & QString::replace(const 
QString &, const QString &)' is private
renderdebugpanel.cpp:53: within this context
/usr/lib/qt3/include/qstring.h:607: `class QString & QString::replace(const 
QString &, const QString &)' is private
renderdebugpanel.cpp:54: within this context
make[2]: *** [renderdebugpanel.o] Error 1
make[2]: Leaving directory `/home/chris/src/kdenlive/kdenlive'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/src/kdenlive'
make: *** [all-recursive-am] Error 2

I should say that I'm not a competent C++ programmer, although I did 
experiment with C++ Builder on Windows a few years ago.  I can fix the 
QString related errors - qstring.h says that on qt 3.0 an compile error will 
occur (because, I think, ::replace is private) and to cast the first arg to 
::replace to a QRegExp. This itself requires the inclusion of qregexp.h.

I can't, however, fix the error relating the undeclared LogText. Advice would 
be appreciated.

Chris




More information about the Kdenlive mailing list