Windows compilation error

Pierre Stirnweiss pstirnweiss at googlemail.com
Mon May 23 09:28:12 BST 2011


The Calligra update is pretty recent. The kdelibs version is on the other
hand pretty old. I'll try to check this evening if i don't come back too
late from saxophone rehearsal.

Pierre


On Mon, May 23, 2011 at 9:31 AM, Marijn Kruisselbrink <
mkruisselbrink at kde.org> wrote:

> When did you last update calligra? And what kdelibs version are you
> building
> against? There should be a #if in the code that only uses the
> (KFileItemList,
> QSize) arguments for kdelibs versions where that method exist, but somehow
> that check seems to be failing for you?
>
> Marijn
>
> On Sunday, May 22, 2011 01:00:28 pm Pierre Stirnweiss wrote:
> > While compiling on windows, i get the following error:
> >
> >
> > [  9%] Building CXX object
> > libs/main/CMakeFiles/komain.dir/KoRecentDocumentsPane.obj
> > KoRecentDocumentsPane.cpp
> >
> C:\Users\pierre\shared\Hacking\calligra\libs\main\KoRecentDocumentsPane.cpp
> > (125) : error C2665: 'KIO::filePreview' : none of the 2 overloads could
> > convert all the argument types c:\kde\include\kio/previewjob.h(165):
> could
> > be 'KIO::PreviewJob *KIO::filePreview(const KFileItemList
> > &,int,int,int,int,bool,bool,const QStringList *)'
> > c:\kde\include\kio/previewjob.h(187): or       'KIO::PreviewJob
> > *KIO::filePreview(const KUrl::List &,int,int,int,int,bool,bool,const
> > QStringList *)' while trying to match the argument list '(KFileItemList,
> > QSize)' NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe'
> > : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> > 10.0\VC\BIN\nmake.exe"' : return code '0x2' Stop.
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> > 10.0\VC\BIN\nmake.exe"' : return code '0x2' Stop.
> >
> >
> > I won't have much time to fix this before mid next week. And i'd like to
> > nail down the styles widget stuff in the little time i'll have then. So
> if
> > the corresponding author could look into this one, i'd be much gratefull.
> >
> > Pierre
>
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20110523/c3505c79/attachment.htm>


More information about the calligra-devel mailing list