Just clean your build dir for this applet. Then mocs will be properly generated again.<br><br><div class="gmail_quote">On Tue, Dec 23, 2008 at 11:10 AM, asraniel <span dir="ltr"><asraniel@fryx.ch></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I had that error but some time ago now.<br>
Deleting the build folder of kickoff solved the problem for me.<br>
<br>
Am Dienstag 23 Dezember 2008 11.04:57 schrieb Oszkar Ambrus:<br>
<div><div></div><div class="Wj3C7c">> Hi,<br>
><br>
> After updating kdebase yesterday, I'm unable to build it successfully.<br>
> I get an error [1] for the Plasma SimpleLauncher. Any suggestions?<br>
><br>
> Thanks,<br>
> Oszkar<br>
><br>
> [1] The error listing:<br>
><br>
> CMakeFiles/plasma_applet_simplelauncher.dir/ui/brandingbutton.o: In<br>
> function `Kickoff::BrandingButton::metaObject() const':<br>
> /home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/applets/kickoff/bran<br>
>dingbutton.moc:47: multiple definition of<br>
> `Kickoff::BrandingButton::metaObject() const'<br>
> CMakeFiles/plasma_applet_simplelauncher.dir/plasma_applet_simplelauncher_au<br>
>tomoc.o:/home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/applets/kicko<br>
>ff/moc_brandingbutton.cpp:42: first defined here<br>
> CMakeFiles/plasma_applet_simplelauncher.dir/ui/brandingbutton.o:(.data.rel.<br>
>ro+0x0): multiple definition of `Kickoff::BrandingButton::staticMetaObject'<br>
> CMakeFiles/plasma_applet_simplelauncher.dir/plasma_applet_simplelauncher_au<br>
>tomoc.o:(.<a href="http://data.rel.ro" target="_blank">data.rel.ro</a>+0x0): first defined here<br>
> CMakeFiles/plasma_applet_simplelauncher.dir/ui/brandingbutton.o: In<br>
> function `Kickoff::BrandingButton::qt_metacast(char const*)':<br>
> /home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/applets/kickoff/bran<br>
>dingbutton.moc:52: multiple definition of<br>
> `Kickoff::BrandingButton::qt_metacast(char const*)'<br>
> CMakeFiles/plasma_applet_simplelauncher.dir/plasma_applet_simplelauncher_au<br>
>tomoc.o:/home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/applets/kicko<br>
</div></div><div class="Ih2E3d">>ff/moc_brandingbutton.cpp:47: first defined here<br>
> CMakeFiles/plasma_applet_simplelauncher.dir/ui/brandingbutton.o: In<br>
> function `Kickoff::BrandingButton::qt_metacall(QMetaObject::Call, int,<br>
> void**)':<br>
> /home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/applets/kickoff/bran<br>
>dingbutton.moc:60: multiple definition of<br>
> `Kickoff::BrandingButton::qt_metacall(QMetaObject::Call, int, void**)'<br>
> CMakeFiles/plasma_applet_simplelauncher.dir/plasma_applet_simplelauncher_au<br>
</div><div class="Ih2E3d">>tomoc.o:/home/kde-devel/kde/build/KDE/kdebase/workspace/plasma/applets/kicko<br>
</div><div><div></div><div class="Wj3C7c">>ff/moc_brandingbutton.cpp:55: first defined here<br>
> collect2: ld returned 1 exit status<br>
> make[2]: *** [lib/plasma_applet_simplelauncher.so] Error 1<br>
> make[1]: ***<br>
> [workspace/plasma/applets/kickoff/CMakeFiles/plasma_applet_simplelauncher.d<br>
>ir/all] Error 2<br>
> make: *** [all] Error 2<br>
> makeobj[0]: Leaving directory `/home/kde-devel/kde/build/KDE/kdebase'<br>
> _______________________________________________<br>
> Plasma-devel mailing list<br>
> <a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br>
<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</div></div></blockquote></div><br>