Hi:
The error that you are having is due a crash between CppMicrioServices
and Qt macros, the developer already fix this but it is in a separated
branch so if you took it from here
https://github.com/saschazelzer/CppMicroServices you shuld use the
branch '19-declare-service-interface-with-qt'
or you may use our copy
https://github.com/MoonLightDE/CppMicroServices


El 08/07/14 14:14, PCMan escribió:
> Thanks!
> Here are the error messages:
> 
> [ 17%] Automoc for target moonlightDE
> [ 17%] Built target moonlightDE_automoc
> [ 17%] Built target moonlightDE
> [ 17%] Automoc for target moonlightDE-SidePanel
> [ 17%] Built target moonlightDE-SidePanel_automoc
> [ 17%] Built target moonlightDE-SidePanel
> [ 17%] Automoc for target moonlightDE-Panel
> [ 17%] Built target moonlightDE-Panel_automoc
> [ 17%] Built target moonlightDE-Panel
> [ 17%] Automoc for target moonlightDE-PanelWidget_Clock
> [ 17%] Built target moonlightDE-PanelWidget_Clock_automoc
> [ 17%] Built target moonlightDE-PanelWidget_Clock
> [ 17%] Automoc for target moonlightDE-PanelWidget_Menu
> [ 17%] Built target moonlightDE-PanelWidget_Menu_automoc
> [ 17%] Automoc for target lxqt-globalkeys
> [ 17%] Built target lxqt-globalkeys_automoc
> [ 17%] Built target lxqt-globalkeys
> [ 17%] Built target moonlightDE-PanelWidget_Menu
> [ 17%] Automoc for target moonlightDE-PanelWidget_TaskBar
> [ 17%] Built target moonlightDE-PanelWidget_TaskBar_automoc
> [ 17%] Built target moonlightDE-PanelWidget_TaskBar
> [ 17%] Automoc for target moonlightDE-PanelWidget_SysTray
> [ 17%] Built target moonlightDE-PanelWidget_SysTray_automoc
> [ 17%] Built target moonlightDE-PanelWidget_SysTray
> [ 17%] Automoc for target moonlightDE-PanelWidget_QuickLaunchers
> [ 17%] Built target moonlightDE-PanelWidget_QuickLaunchers_automoc
> [ 17%] Built target moonlightDE-PanelWidget_QuickLaunchers
> [ 17%] Automoc for target moonlightDE-Actions_Registry
> [ 17%] Built target moonlightDE-Actions_Registry_automoc
> [ 17%] Built target moonlightDE-Actions_Registry
> [ 17%] Automoc for target moonlightDE-shortcuts_services
> [ 17%] Built target moonlightDE-shortcuts_services_automoc
> [ 17%] Built target moonlightDE-shortcuts_services
> [ 17%] Automoc for target lxqt-config-globalkeyshortcuts
> [ 17%] Built target lxqt-config-globalkeyshortcuts_automoc
> [ 17%] Built target lxqt-config-globalkeyshortcuts
> [ 17%] Automoc for target lxqt-globalkeys-ui
> [ 17%] Built target lxqt-globalkeys-ui_automoc
> [ 17%] Built target lxqt-globalkeys-ui
> [ 17%] Automoc for target moonlightDE-Notifications_Service
> [ 17%] Built target moonlightDE-Notifications_Service_automoc
> [ 17%] Building CXX object
> src/notifications/src/CMakeFiles/moonlightDE-Notifications_Service.dir/Activator.cpp.o
> In file included from
> /home/pcman/MoonLightDE/include/notifications/INotificationsService.h:32:0,
>                  from
> /home/pcman/MoonLightDE/src/notifications/src/notifyd.h:32,
>                  from
> /home/pcman/MoonLightDE/build/src/notifications/src/notificationsadaptor.h:17,
>                  from
> /home/pcman/MoonLightDE/src/notifications/src/Activator.cpp:24:
> /usr/include/CppMicroServices/usServiceInterface.h:55:33: error:
> redefinition of ‘const char* qobject_interface_iid() [with T =
> INotificationsService*]’
>    template<> inline const char*
> qobject_interface_iid<_service_interface_type*>()                    \
>                                  ^
> /home/pcman/MoonLightDE/include/notifications/INotificationsService.h:130:1:
> note: in expansion of macro ‘US_DECLARE_SERVICE_INTERFACE’
>  US_DECLARE_SERVICE_INTERFACE(INotificationsService,
> "org.moonlightde.notifications.INotificationsService/1.0")
>  ^
> In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45:0,
>                  from /usr/include/qt4/QtGui/qapplication.h:45,
>                  from /usr/include/qt4/QtGui/QApplication:1,
>                  from
> /home/pcman/MoonLightDE/src/notifications/src/Activator.cpp:22:
> /home/pcman/MoonLightDE/include/notifications/INotificationsService.h:129:1:
> error: ‘const char* qobject_interface_iid() [with T =
> INotificationsService*]’ previously declared here
>  Q_DECLARE_INTERFACE(INotificationsService,
> "org.moonlightde.notifications.INotificationsService/1.0")
>  ^
> In file included from
> /home/pcman/MoonLightDE/include/notifications/INotificationsService.h:32:0,
>                  from
> /home/pcman/MoonLightDE/src/notifications/src/notifyd.h:32,
>                  from
> /home/pcman/MoonLightDE/build/src/notifications/src/notificationsadaptor.h:17,
>                  from
> /home/pcman/MoonLightDE/src/notifications/src/Activator.cpp:24:
> /usr/include/CppMicroServices/usServiceInterface.h:59:46: error:
> redefinition of ‘T qobject_cast(QObject*) [with T =
> INotificationsService*]’
>    template<> inline _service_interface_type*
> qobject_cast<_service_interface_type*>(QObject* object) \
>                                               ^
> /home/pcman/MoonLightDE/include/notifications/INotificationsService.h:130:1:
> note: in expansion of macro ‘US_DECLARE_SERVICE_INTERFACE’
>  US_DECLARE_SERVICE_INTERFACE(INotificationsService,
> "org.moonlightde.notifications.INotificationsService/1.0")
>  ^
> In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45:0,
>                  from /usr/include/qt4/QtGui/qapplication.h:45,
>                  from /usr/include/qt4/QtGui/QApplication:1,
>                  from
> /home/pcman/MoonLightDE/src/notifications/src/Activator.cpp:22:
> /home/pcman/MoonLightDE/include/notifications/INotificationsService.h:129:1:
> error: ‘T qobject_cast(QObject*) [with T = INotificationsService*]’
> previously declared here
>  Q_DECLARE_INTERFACE(INotificationsService,
> "org.moonlightde.notifications.INotificationsService/1.0")
>  ^
> In file included from
> /home/pcman/MoonLightDE/include/notifications/INotificationsService.h:32:0,
>                  from
> /home/pcman/MoonLightDE/src/notifications/src/notifyd.h:32,
>                  from
> /home/pcman/MoonLightDE/build/src/notifications/src/notificationsadaptor.h:17,
>                  from
> /home/pcman/MoonLightDE/src/notifications/src/Activator.cpp:24:
> /usr/include/CppMicroServices/usServiceInterface.h:61:46: error:
> redefinition of ‘T qobject_cast(const QObject*) [with T =
> INotificationsService*]’
>    template<> inline _service_interface_type*
> qobject_cast<_service_interface_type*>(const QObject* object) \
>                                               ^
> /home/pcman/MoonLightDE/include/notifications/INotificationsService.h:130:1:
> note: in expansion of macro ‘US_DECLARE_SERVICE_INTERFACE’
>  US_DECLARE_SERVICE_INTERFACE(INotificationsService,
> "org.moonlightde.notifications.INotificationsService/1.0")
>  ^
> In file included from /usr/include/qt4/QtCore/qcoreapplication.h:45:0,
>                  from /usr/include/qt4/QtGui/qapplication.h:45,
>                  from /usr/include/qt4/QtGui/QApplication:1,
>                  from
> /home/pcman/MoonLightDE/src/notifications/src/Activator.cpp:22:
> /home/pcman/MoonLightDE/include/notifications/INotificationsService.h:129:1:
> error: ‘T qobject_cast(const QObject*) [with T =
> INotificationsService*]’ previously declared here
>  Q_DECLARE_INTERFACE(INotificationsService,
> "org.moonlightde.notifications.INotificationsService/1.0")
>  ^
> src/notifications/src/CMakeFiles/moonlightDE-Notifications_Service.dir/build.make:74:
> recipe for target
> 'src/notifications/src/CMakeFiles/moonlightDE-Notifications_Service.dir/Activator.cpp.o'
> failed
> make[2]: *** 
> [src/notifications/src/CMakeFiles/moonlightDE-Notifications_Service.dir/Activator.cpp.o]
> Error 1
> CMakeFiles/Makefile2:1319: recipe for target
> 'src/notifications/src/CMakeFiles/moonlightDE-Notifications_Service.dir/all'
> failed
> make[1]: *** 
> [src/notifications/src/CMakeFiles/moonlightDE-Notifications_Service.dir/all]
> Error 2
> Makefile:136: recipe for target 'all' failed
> make: *** [all] Error 2
> 




Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to