#40 CVS-Version does not compile

closed-works-for-me
nobody
None
5
2004-11-28
2004-10-30
cyberbeat
No

Here is my compilation error:

/usr/lib/qt3/bin/uic -L ../../muse/widgets -L ../../awl -o
metronomebase.cpp -impl metronomebase.h
metronomebase.ui
/usr/lib/qt3/bin/moc metronomebase.h -o
moc_metronomebase.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -fno-exceptions -
fno-rtti -Wall -W -D_GNU_SOURCE -D_REENTRANT -
DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -I../.. -I../
../muse/widgets -I../../awl -I/usr/lib/qt3/include -I.. -I../../synti -
I../../awl -DQT_SHARED -DQT_THREAD_SUPPORT -
DQT_PLUGIN -include ../../all.h -g -O2 -c metronomebase.
cpp -o base_metronomebase.o
metronomebase.cpp: In constructor `
MetronomeConfigBase::MetronomeConfigBase(QWidget*,
const char*, bool,
unsigned int)':
metronomebase.cpp:52: error: invalid use of undefined type
`struct Awl::VolKnob
'
metronomebase.h:22: error: forward declaration of `struct
Awl::VolKnob'
metronomebase.cpp:53: error: `sizePolicy' undeclared (first
use this function)
metronomebase.cpp:53: error: (Each undeclared identifier is
reported only once
for each function it appears in.)
metronomebase.cpp:53: error: `setSizePolicy' undeclared (first
use this
function)
metronomebase.cpp:54: error: no matching function for call
to `QHBoxLayout::
addWidget(Awl::VolKnob*&)'
/usr/lib/qt3/include/qlayout.h:386: error: candidates are: void
QBoxLayout::addWidget(QWidget*, int, int)
make[5]: *** [metronomebase.o] Fehler 1

Discussion

  • Robert Jonsson

    Robert Jonsson - 2004-10-31

    Logged In: YES
    user_id=81832

    Hello,

    If possible please subscribe to one of the mailinglists and ask
    there. The error is probably due to configuration, compiler
    version, qt version, etc... or possibly cvs-out of sync.

     
  • Robert Jonsson

    Robert Jonsson - 2004-10-31
    • status: open --> open-works-for-me
     
  • Robert Jonsson

    Robert Jonsson - 2004-11-28
    • status: open-works-for-me --> closed-works-for-me
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks