[Uml-devel] RE : Build Problems

Simon Foster s.d.f at btinternet.com
Sun Jun 30 07:54:04 UTC 2002


> I got tons of parse errors in classparser (but that was only because it is
> the first thing to build) and I thought something might be broken with it, 
> so in a try to get uml to build and be able to add the new features to code
> generation I just tried skipping classparser and linking to an old 
> classparser but then I got again to many errors in uml itself.

> too many to list here, but they were mostly parse errors, "variable not
> defined" errors, syntax error, etc. I tried to take a quick look at the them
> but nothing seemed to be wrong... I didnt have too much time last night to
> check it in detail.

> any ideas anyone what can be wrong?

I use SuSE Linux 8.0, to fix the problem with class parser (which relates to 
the / line seperators), do a 

dos2unix *.cc
dos2unix *.h

in the directory of class parser, this *should* fix this problem. You may need 
to do the same if you get similar errors with files elsewhere.

However it still won't compile for me, quite near the end I get:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2 -fno-exceptions 
-fno-check-new  -c -o operation.o `test -f operation.cpp || echo 
'./'`operation.cpp
operation.cpp: In method `bool UMLOperation::operator ==(UMLOperation &)':
operation.cpp:190: no match for `QPtrList<UMLAttribute> & != 
QPtrList<UMLAttribute> &'
/usr/lib/qt3/include/qcstring.h:299: candidates are: bool operator !=(const 
QCString &, const QCString &)
/usr/lib/qt3/include/qcstring.h:302:                 bool operator !=(const 
QCString &, const char *)
/usr/lib/qt3/include/qcstring.h:305:                 bool operator !=(const 
char *, const QCString &)
/usr/lib/qt3/include/qstring.h:303:                 bool operator !=(QChar, 
QChar)
/usr/lib/qt3/include/qstring.h:308:                 bool operator !=(char, 
QChar)
/usr/lib/qt3/include/qstring.h:313:                 bool operator !=(QChar, 
char)
/usr/lib/qt3/include/qstring.h:825:                 bool operator !=(const 
QString &, const QString &)
/usr/lib/qt3/include/qstring.h:832:                 bool operator !=(const 
QString &, const char *)
/usr/lib/qt3/include/qstring.h:838:                 bool operator !=(const 
char *, const QString &)
/usr/lib/qt3/include/qpoint.h:151:                 bool operator !=(const 
QPoint &, const QPoint &)
/usr/lib/qt3/include/qsize.h:155:                 bool operator !=(const QSize 
&, const QSize &)
/usr/lib/qt3/include/qrect.h:139:                 bool operator !=(const QRect 
&, const QRect &)

Any ideas on that?

Regards,

Si.




More information about the umbrello-devel mailing list