Compile probs

Cleary_Mike at emc.com Cleary_Mike at emc.com
Wed Oct 10 14:03:26 BST 2001


Finally, here are the latest messages I get when trying to compile (I have
double-
spaced them here in case they wrap):

mdcleary at linux:~/kdevelop/qtprojects/pizza > g++ -I$QTDIR/include
PizzaEntry.cpp PizzaEntryTest.cpp moc_PizzaEntry.cpp -L$QTDIR/lib -lqt

moc_PizzaEntry.cpp:45: new declaration `static void
PizzaEntry::staticMetaObject()'

PizzaEntry.h:24: ambiguates old declaration `static class QMetaObject *
PizzaEntry::staticMetaObject()'

moc_PizzaEntry.cpp: In function `void
__static_initialization_and_destruction_0(int, int)':

moc_PizzaEntry.cpp:29: no matching function for call to
`QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'

/usr/lib/qt2/include/qmetaobject.h:259: candidates are:
QMetaObjectInit::QMetaObjectInit(void (*)())

/usr/lib/qt2/include/qmetaobject.h:261:
QMetaObjectInit::QMetaObjectInit(const QMetaObjectInit &)



As I have no idea what to do at this point, any assistance would be greatly
appreciated!

TIA,

MIke
------------------------------------------------------
Cleary_Mike at emc.com          x6033
-----------------------------------------------------------------
Overflow on /dev/null, please empty the bit bucket.

 -----Original Message-----
From: 	Cleary_Mike at emc.com [mailto:Cleary_Mike at emc.com] 
Sent:	Tuesday, October 09, 2001 4:47 PM
To:	kdevelop at kdevelop.org
Subject:	RE: Compile probs

Well I tried it again, and it worked better this time but no joy yet.  I
copied the error
messages and mailed them to my office, but for some reason I didn't receive
it.  A
couple of the messages said something about a certain call "antiquating"
another call.
I'll try it again and save the messages off somewhere......

Mike
------------------------------------------------------
Cleary_Mike at emc.com
------------------------------------------------------
It said ... "Requires Windows 95 or better...", so I installed Linux......

 -----Original Message-----
From: 	Robert Jan Schaper [mailto:r.schaper at chello.nl] 
Sent:	Monday, October 08, 2001 11:05 AM
To:	kdevelop at kdevelop.org
Subject:	Re: Compile probs

On maandag  8 oktober 2001 16:52, you wrote:
> I've just started learning kdevelop & have been doing some of
> the tutorials.  I was working on the tutorial in QTDesigner, and
> at the point where you first build the project, the tutorial gives the
> following 3 command lines:
>
> 	moc -o moc_PizzaEntry.cpp PizzaEntry.h
> 	g++ -I$QTDIR/include PizzaEntry.cpp PizzaEntryTest.cpp \
> 	moc_PizzaEntry.cpp -L$QTDIR/lib -lqt

line 2 & 3 are one line. Remove the \ thing, join both lines and try 
again.

-Rob-



-- 
The reason that data structures and algorithms can work together seamlessly 
is that they do not know anything about each other.
- Alex Stephanov


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org
with the following body:
unsubscribe "your-email-address"

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org
with the following body:
unsubscribe "your-email-address"

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list