#87 compile error with mandrake : error : candidates are

closed
nobody
None
5
2005-04-16
2005-02-23
manouxus
No

I'v got Mandrake 10, all librairies needed and the last
version of Qt
But when I compile I've got:

make[5]: Entering directory
`/home/manu/downloads/muse-0.7.1/muse/liste'
/usr/lib/qt3//bin/uic -L ../../muse/widgets -o
editctrlbase.cpp -impl editctrlbase.h editctrlbase.ui
/usr/lib/qt3//bin/moc editctrlbase.h -o
moc_editctrlbase.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g
-fno-exceptions -Wall -W -D_GNU_SOURCE -D_REENTRANT
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -I../..
-I../../muse/widgets -I/usr/lib/qt3//include -I..
-I../../synti -I../../muse/widgets -DQT_SHARED
-DQT_THREAD_SUPPORT -DQT_PLUGIN -g -O2 -c
editctrlbase.cpp -o base_editctrlbase.o
editctrlbase.cpp: In constructor
`EditCtrlBase::EditCtrlBase(QWidget*, const char*,
bool, unsigned int)':
editctrlbase.cpp:54: error: invalid use of undefined
type `struct PosEdit'
editctrlbase.h:22: error: forward declaration of
`struct PosEdit'
editctrlbase.cpp:56: error: no matching function for
call to `QGridLayout::addWidget(PosEdit*&, int, int)'
/usr/lib/qt3/include/qlayout.h:331: error: candidates
are: void QGridLayout::addWidget(QWidget*, int, int, int)

Bug or wrong config ?

Discussion

  • Logged In: YES
    user_id=896178

    Strange, what version of libtool are you using? The
    "supported" libtool version is 1.4, but I think the
    configure-script checks for this already, so... Hmmm... One
    workaround you can try is to #include "posedit.h" in your
    autogenerated editctrlbase.h in the liste-directory.

     
  • manouxus
    manouxus
    2005-02-26

    Logged In: YES
    user_id=1226057

    Ok !! It works with
    #include "posedit.h"
    in editctrlbase.h ! thanks a lot !!!

     
  • Robert Jonsson
    Robert Jonsson
    2005-02-26

    Logged In: YES
    user_id=81832

    Hi,

    As I recall this is a problem with QT, some of the files are generated. One of
    the generations probably failed for some reason. I've seen this in the past
    but I don't really remember what the proper cause of action was...

    It's interesting that it worked when adding posedit.h !

     
    • status: open --> closed