[Digikam-devel] Re: Digikam from svn does not compile because of libkmap

Michael G. Hansen mike at mghansen.de
Wed Jan 5 11:38:50 GMT 2011


On 01/05/2011 12:20 PM, Michael G. Hansen wrote:
> Hi Sven,
>
>   >  In file included from /home/kde-
>   >  branch/kde/src/digikam2/extra/libkmap/libkmap/kmap_widget.cpp:27:0:
>   >
> /home/kde-branch/kde/src/digikam2/extra/libkmap/libkmap/kmap_widget.moc: In
>   >  member function ‘virtual int
> KMap::KMapWidget::qt_metacall(QMetaObject::Call,
>   >  int, void**)’:
>   >  /home/kde-
>   >  branch/kde/src/digikam2/extra/libkmap/libkmap/kmap_widget.moc:143:43:
> error:
>   >  ‘signalNewSelectionFromMap’ was not declared in this scope
>
> This is very strange, because it looks like the .moc file was found in
> the source tree, where it should not be. And the moc file is apparantly
> very old, because it references functions which are not in the
> digikam2beta1 release any more. Are you doing an in-source build? Have
> you ever accidentally started one? If you are doing an out-of-source
> build, please remove the
> /home/kde-branch/kde/src/digikam2/extra/libkmap/libkmap/kmap_widget.moc
> file, or better yet, reset the whole source tree (unpack the source code
> into a new directory), and start a new out-of-source build.
>
> I also checked under KDE 4.5.3 from debian, and the digikam source
> tarball version 2 from 2011-01-03 builds fine here.

Sorry, I misread your mail, thinking you were using the newly supplied 
tarball. Other issues could be that some files were not correctly 
updated when you svn-updated. Which revision are you on?

Michael



More information about the Digikam-devel mailing list