braindump compilation error on OS X

Boudewijn Rempt boud at valdyas.org
Sun Nov 25 08:40:09 GMT 2012


On Sunday 25 November 2012 Nov, Yuƫ Liu wrote:
> Hi,
> 
> I'm trying port calligra 2.6 to macports, when compiling I met
> following errors realted to StateShapePlugin in Braindump:

I think you need to cherry-pick commit

00cc2ba21f284fb9420938a3eaa63f258a4fa5a2

to 2.6 -- that changes the way the stateshape plugin is declared. I had a similar compile error on Windows.


> 
> :info:build /opt/local/var/macports/build/_Users_yue_Develop_mports_trunk_dports_kde_calligra/calligra/work/calligra-2.5.91/braindump/plugins/stateshape/StateShapePlugin.cpp:29:1:
> error: C++ requires a type specifier for all declarations
> :info:build K_EXPORT_COMPONENT_FACTORY(stateshape,
> :info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> I'm not sure what does this means. Looks like kde macros not
> recognized? But many other shape plugins compiled without problem. By
> the way I used the mobile profile when compiling kdelibs (without
> soprano and nepomuk), maybe state shape plugin used some special
> features in kdelibs? Or it's more probably a problem caused by Clang?
> 
> I also attached the configuration process and full error output.
> 
> Thanks,
> Yue Liu
> 


-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20121125/33c078d5/attachment.htm>


More information about the calligra-devel mailing list