Hi,
Excuse me to disturb you but I can't compil kUML-0.5.1
with my Mandrake 9.0 and the mailing list doesn't
respond me :-(
It seems I've got a problem with the vector template
definition. This is the make output:
../clMementoLibrary.h:57: 'vector' is used as a type,
but is not defined as a type.
make[1]: *** [clXmlDataSourceFactory.o] Erreur 1
make[1]: Quitte le répertoire
`/home/patrick/kUML-0.5.1/kuml/data/persistence/XML'
make: *** [all-recursive] Erreur 1
[1]+ Done emacs clMementoLibrary.h
[patrick@gelinux persistence]$
And this is the content of file clMememtoLibrary.h:
[...]
class clMementoLibrary : public ifMementoLibrary
{
protected:
vector<clTranslationEntry *> mvTranslationTable;
clMementoLibrary (const clMementoLibrary &);
clMementoLibrary &operator= (const clMementoLibrary
&);
public:
clMementoLibrary () {};
virtual ~clMementoLibrary ();
ifKumlObjectMemento &meGetMemento (const
DrawingItem *pConcrete) const
throw (clPersistentOperationException);
ifKumlObjectMemento &meGetMemento (const QString
&pConcrete) const
throw (clPersistentOperationException);
void meAddMementoTranslation (DrawingItem *pObject,
ifKumlObjectMemento
*pMemento,
const QString
&pPersistentType)
throw (clPersistentOperationException);
};
In fact, I found the file 'vector.h' in some packages
in my computer:
* libstdc++5-devel-3.2.1mdk
* libqt3-devel-3.0.5-7mdk
* kernel-source-2.4.19-16mdk
May be can you tell me what package is wrong and what
package I need to compil kUML-0.5.1 ?
Thanks.
-----------------------------------
Patrick GELIN
rue du Beau-Site 3
CH-2300 La Chaux-de-Fonds
Switzerland
Tél: +41 (0)32 913 41 48
Email: patrick.gelin@free.fr
Logged In: NO
Hello!
I have nearly the same problem compiling kUML:
[...]
../../../drawobj/drawingconnection.h:93: ISO C++ forbids
declaration of `
KPopupMenu' with no type
../../../drawobj/drawingconnection.h:93: `KPopupMenu'
declared as a `virtual'
field
../../../drawobj/drawingconnection.h:93: parse error before
`*' token
../../../drawobj/drawingconnection.h:96: invalid use of member `
DrawingConnection::KPopupMenu'
../../../drawobj/drawingconnection.h:96: `menu' was not
declared in this scope
../../../drawobj/drawingconnection.h:96: invalid data member
initialization
../../../drawobj/drawingconnection.h:96: variable or field
`setPopupMenu'
declared void
../../../drawobj/drawingconnection.h:96: `setPopupMenu'
declared as a `virtual'
field
make[5]: *** [clGnomeXmlDataSource.o] Fehler 1
make[5]: Verlassen des Verzeichnisses Verzeichnis
/home/mmehrwal/temp/kUML-0.5.1/kuml/data/persistence/XML
make[4]: *** [all-recursive] Fehler 1
make[4]: Verlassen des Verzeichnisses Verzeichnis
/home/mmehrwal/temp/kUML-0.5.1/kuml/data/persistence
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis
/home/mmehrwal/temp/kUML-0.5.1/kuml/data
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
/home/mmehrwal/temp/kUML-0.5.1/kuml
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
/home/mmehrwal/temp/kUML-0.5.1
make: *** [all-recursive-am] Fehler 2
I have got RedHat 8.0.
Whats wrong here?
Thanks
MM