[Kst] Compile pb

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Wed Dec 7 15:32:36 CET 2005


Hi,

It seems I can't compile kst svn right now:

if /bin/bash ../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I.  -I./extdate -I../..
-I/usr/local/kde/V3.4.0/include -I/usr/local/kde/include
-I/S/KDE/Vdev/include  -DQT_THREAD_SUPPORT  -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4  -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT viewlegendwidget.lo -MD -MP -MF
".deps/viewlegendwidget.Tpo" -c -o viewlegendwidget.lo
viewlegendwidget.cpp; \
then mv -f ".deps/viewlegendwidget.Tpo" ".deps/viewlegendwidget.Plo";
else rm -f ".deps/viewlegendwidget.Tpo"; exit 1; fi
rm: cannot remove `.' or `..'
viewlegendwidget.cpp: In constructor
`ViewLegendWidget::ViewLegendWidget(QWidget*, const char*, uint)':
viewlegendwidget.cpp:177: error: invalid use of undefined type `struct
PlotListBox'
viewlegendwidget.h:22: error: forward declaration of `struct
PlotListBox'
viewlegendwidget.cpp:178: error: no matching function for call to
`QVBoxLayout::addWidget(PlotListBox*&)'
/usr/local/kde/include/qlayout.h:386: note: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
viewlegendwidget.cpp:188: error: invalid use of undefined type `struct
PlotListBox'
viewlegendwidget.h:22: error: forward declaration of `struct
PlotListBox'
viewlegendwidget.cpp:189: error: no matching function for call to
`QVBoxLayout::addWidget(PlotListBox*&)'
/usr/local/kde/include/qlayout.h:386: note: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
viewlegendwidget.cpp:299: error: no matching function for call to
`QLabel::setBuddy(PlotListBox*&)'
/usr/local/kde/include/qlabel.h:95: note: candidates are: virtual void
QLabel::setBuddy(QWidget*)
viewlegendwidget.cpp:300: error: no matching function for call to
`QLabel::setBuddy(PlotListBox*&)'
/usr/local/kde/include/qlabel.h:95: note: candidates are: virtual void
QLabel::setBuddy(QWidget*)

Apparently, PlotListBox is not know at this place yet...


More information about the Kst mailing list