Version: 1.2.1 (using KDE KDE 3.2.2) Installed from: Mandrake RPMs Compiler: gcc 3.4.1 OS: Linux umIn file included from uml.cpp:1449: l.moc: In member function `virtual bool UMLApp::qt_invoke(int, QUObject*)': uml.moc:247: error: `slotViewToolBar' undeclared (first use this function) uml.moc:247: error: (Each undeclared identifier is reported only once for each function it appears in.) uml.moc:248: error: `slotViewStatusBar' undeclared (first use this function) make[2]: *** [uml.o] Error 1 make[2]: Target `all-am' not remade because of errors. make[2]: Leaving directory `/home/swhite/UML/umbrello-1.2.1/umbrello/umbrello' make[1]: *** [all-recursive] Error 1 make[1]: Target `all' not remade because of errors. make[1]: Leaving directory `/home/swhite/UML/umbrello-1.2.1/umbrello/umbrello' make[1]: Entering directory `/home/swhite/UML/umbrello-1.2.1/umbrello' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/home/swhite/UML/umbrello-1.2.1/umbrello' make: *** [all-recursive] Error 1 These declarations are switched off with #if KDE_VERSION < 0x030190 in uml.h and uml.cpp, but not in uml.moc.
Hm, beats me. All I can say is, I'm happily compiling and running umbrello with KDE 3.1.1.
Didn't beat me. I hacked uml.moc and it compiled and worked. What does KDE_VERSION < 0x030190 mean anyway? Is that 3.1.9? In that case, the #if would be effective for your KDE version but not mine.
Stevan White <stevan_white@hotmail.com> [040613 15:41]: > Didn't beat me. I hacked uml.moc and it compiled and worked. > > What does KDE_VERSION < 0x030190 mean anyway? Is that 3.1.9? > In that case, the #if would be effective for your KDE version but not mine. The problem is, that we can't edit the moc files, because they are generated automatically. Maybe try replacing the ifdef with something like: #if (KDE_VERSION_MINOR>=2) && (KDE_VERSION_MAJOR>=3) ... #endif Sebastian
I don't understand your bug report. You're not using a KDE version < 3.2, so how can you hit that condition?
Can you confirm what version of KDE you are using and what Umbrello sources you are using? If you are using KDE 3.2 please use KDE CVS for latest sources otherwise just use the RPMs of kdesdk that come with Mandrake.
If I read the logic correctly, and interpret 'KDE_VERSION < 0x030190' correctly, then the code does just what it must do: fail to compile. As I said, the code is switched off for KDE 3.2 in the .c and .h file, but not in the .moc file. I already got my copy to compile by hacking it, as I said. >rpm -q kdesdk kdesdk-3.2.3-1mdk Umbrello 1.2.1
Can we close this then?
These #ifdefs were commented out from CVS version in January.