Compile error when doing a clean compile

Boudewijn Rempt boud at valdyas.org
Mon Jul 26 10:15:29 CEST 2004


I'm guessing that this has something to do the designer plugin or something,
and only happens when you are trying to do a clean build.

make[4]: Entering directory `/home/boud/prj/build-koffice/krita/ui/dialogs'
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H -I. -I../../../../koffice/krita/ui/dialogs -I../../.. 
-I../../../../koffice/krita/ui/dialogs/.. 
-I../../../../koffice/krita/ui/dialogs/../../core 
-I../../../../koffice/lib/kofficeui -I../../../lib/kofficeui 
-I../../../../koffice/lib/kofficecore -I../../../lib/kofficecore 
-I../../../../koffice/lib/store -I../../../lib/store 
-I../../../../koffice/lib/kwmf -I../../../lib/kwmf 
-I../../../../koffice/lib/interfaces -I../../../../koffice/lib/kopainter 
-I../../../lib/kopainter -I/opt/kde3.src/include 
-I/home/boud/src/kde.HEAD/qt-copy/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT kis_preview_dialog.lo -MD -MP -MF 
".deps/kis_preview_dialog.Tpo" -c -o kis_preview_dialog.lo 
kis_preview_dialog.cc; \
then mv -f ".deps/kis_preview_dialog.Tpo" ".deps/kis_preview_dialog.Plo"; else 
rm -f ".deps/kis_preview_dialog.Tpo"; exit 1; fi
kis_preview_dialog.cc: In constructor `
   KisPreviewDialog::KisPreviewDialog(QWidget*, const char*, bool, unsigned
   int)':
kis_preview_dialog.cc:44: error: invalid use of undefined type `struct
   KisPreviewWidget'
kis_preview_dialog.h:21: error: forward declaration of `struct 
KisPreviewWidget
   '
kis_preview_dialog.cc:45: error: no matching function for call to `QHBoxLayout
   ::addWidget(KisPreviewWidget*&)'
/home/boud/src/kde.HEAD/qt-copy/include/qlayout.h:386: error: candidates are:
   void QBoxLayout::addWidget(QWidget*, int, int)
make[4]: *** [kis_preview_dialog.lo] Error 1

-- 
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list