Compile error when doing a clean compile

Boudewijn Rempt boud at valdyas.org
Mon Jul 26 21:51:36 CEST 2004


On Monday 26 July 2004 15:47, Cyrille Berger wrote:

> done. The plugins is not anymore necessary.

I'm running into the next compile error, though:

make[1]: 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
In file included from kis_preview_dialog.cc:20:
../../../../koffice/krita/ui/kis_previewwidget.h:30:43: 
dialogs/kis_previewwidgetbase.h: No such file or directory
In file included from kis_preview_dialog.cc:20:
../../../../koffice/krita/ui/kis_previewwidget.h:41: error: syntax error 
before
   `{' token
../../../../koffice/krita/ui/kis_previewwidget.h:42: error: virtual outside
   class declaration
../../../../koffice/krita/ui/kis_previewwidget.h:42: error: non-member 
function
   `const char* className()' cannot have `const' method qualifier
../../../../koffice/krita/ui/kis_previewwidget.h:42: error: virtual outside
   class declaration
../../../../koffice/krita/ui/kis_previewwidget.h:42: error: virtual outside
   class declaration
../../../../koffice/krita/ui/kis_previewwidget.h:42: error: virtual outside
   class declaration
../../../../koffice/krita/ui/kis_previewwidget.h:42: error: virtual outside
   class declaration
../../../../koffice/krita/ui/kis_previewwidget.h: In function `QObject*
   qObject()':
../../../../koffice/krita/ui/kis_previewwidget.h:42: error: invalid use of
   `this' in non-member function
../../../../koffice/krita/ui/kis_previewwidget.h: At global scope:
../../../../koffice/krita/ui/kis_previewwidget.h:42: error: syntax error 
before
   `private'
../../../../koffice/krita/ui/kis_previewwidget.h: In function `double 
getZoom()
   ':
../../../../koffice/krita/ui/kis_previewwidget.h:56: error: `m_zoom' 
undeclared
   (first use this function)
../../../../koffice/krita/ui/kis_previewwidget.h:56: error: (Each undeclared
   identifier is reported only once for each function it appears in.)
../../../../koffice/krita/ui/kis_previewwidget.h: In function `QPoint getPos()
   ':
../../../../koffice/krita/ui/kis_previewwidget.h:59: error: `m_startDrag'
   undeclared (first use this function)
../../../../koffice/krita/ui/kis_previewwidget.h: At global scope:
../../../../koffice/krita/ui/kis_previewwidget.h:62: error: syntax error 
before
   `public'
../../../../koffice/krita/ui/kis_previewwidget.h:77: error: syntax error 
before
   `protected'
../../../../koffice/krita/ui/kis_previewwidget.h:83: error: virtual outside
   class declaration
../../../../koffice/krita/ui/kis_previewwidget.h:84: error: virtual outside
   class declaration
../../../../koffice/krita/ui/kis_previewwidget.h:85: error: virtual outside
   class declaration
../../../../koffice/krita/ui/kis_previewwidget.h:87: error: syntax error 
before
   `private'
../../../../koffice/krita/ui/kis_previewwidget.h:93: error: `QPoint 
m_startDrag
   ' used prior to declaration
../../../../koffice/krita/ui/kis_previewwidget.h:97: error: `double m_zoom'
   used prior to declaration
../../../../koffice/krita/ui/kis_previewwidget.h:99: error: syntax error 
before
   `private'
../../../../koffice/krita/ui/kis_previewwidget.h:103: error: syntax error
   before `}' token
kis_preview_dialog.cc: In constructor `
   KisPreviewDialog::KisPreviewDialog(QWidget*, const char*, bool, unsigned
   int)':
kis_preview_dialog.cc:45: error: invalid use of undefined type `class
   KisPreviewWidget'
kis_preview_dialog.h:21: error: forward declaration of `class 
KisPreviewWidget'
kis_preview_dialog.cc:46: 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)
/opt/kde3.src/include/ksharedptr.h: In destructor 
`KSharedPtr<T>::~KSharedPtr()
   [with T = KisLayer]':
../../../../koffice/krita/ui/kis_previewwidget.h:91:   instantiated from here
/opt/kde3.src/include/ksharedptr.h:126: error: `_KShared_unref' undeclared
   (first use this function)
/opt/kde3.src/include/ksharedptr.h: In destructor 
`KSharedPtr<T>::~KSharedPtr()
   [with T = KisImage]':
../../../../koffice/krita/ui/kis_previewwidget.h:92:   instantiated from here
/opt/kde3.src/include/ksharedptr.h:126: error: `_KShared_unref' undeclared
   (first use this function)
../../../../koffice/krita/ui/kis_previewwidget.h: At top level:
../../../../koffice/krita/ui/kis_previewwidget.h:42: warning: `bool
   qt_static_property(QObject*, int, int, QVariant*)' declared `static' but
   never defined
../../../../koffice/krita/ui/kis_previewwidget.h:42: warning: `QMetaObject*
   staticMetaObject()' declared `static' but never defined
make[1]: *** [kis_preview_dialog.lo] Error 1
make[1]: Leaving directory `/home/boud/prj/build-koffice/krita/ui/dialogs'
make: *** [all-recursive] Error 1

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


More information about the kimageshop mailing list