From kde-devel Sun Sep 29 19:51:34 2002 From: Tomasz Grobelny Date: Sun, 29 Sep 2002 19:51:34 +0000 To: kde-devel Subject: Re: koffice broken? X-MARC-Message: https://marc.info/?l=kde-devel&m=103332931406208 On nie 29. of September 2002 20:06, Volker Augustin wrote: > Hello, > > I currently get the following when compiling koffice: > > /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H > -I. -I../../../../koffice/lib/kotext -I../.. > -I../../../../koffice/lib/kofficecore -I../../lib/kofficecore > -I../../../../koffice/lib/kofficeui -I../../lib/kofficeui > -I/usr/local/kde3-4/include -I/usr/local/qt-copy-2/include > -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT > -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W > -Wpointer-arith > -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 > -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new > -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT -c > -o timedateformatwidget.lo `test -f timedateformatwidget.cc || echo > '../../../../koffice/lib/kotext/'`timedateformatwidget.cc > timedateformatwidget.cc: In method > `TimeDateFormatWidgetPrototype::TimeDateFormatWidgetPrototype(QWidget * = > 0, const char * = 0, unsigned int = 0)': > timedateformatwidget.cc:57: invalid use of undefined type `class > KIntNumInput' timedateformatwidget.h:18: forward declaration of `class > KIntNumInput' timedateformatwidget.cc:58: no matching function for call to > `QHBoxLayout::addWidget (KIntNumInput *&)' > /usr/local/qt-copy-2/include/qlayout.h:379: candidates are: void > QBoxLayout::addWidget(QWidget *, int = 0, int = 0) > make[1]: *** [timedateformatwidget.lo] Fehler 1 > make[1]: Verlassen des Verzeichnisses Verzeichnis > »/home/kde3/cvs-kde/build/koffice/lib/kotext« > make: *** [all-recursive] Fehler 1 > > It says that class KIntNumInput is not yet declared. Try including apropriate header. But it's only a hack. I don't have problems here but similar ones in diffrent parts of Koffice. And I don't know the right solution (the files should be included automaticaly). Tomek >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<