[KPhotoAlbum] Compile error: "reference to 'MainWindow' is ambiguous"

Rui Malheiro rmalheiro at 6mil.pt
Sat Jun 3 13:07:50 CEST 2006


Hi all,

First things first. Thanks for a very useful program. I've been using 
kimdaba/kphotoalbum to efficiently manage a growing collection of photos 
(over 7.000, mostly film scans) and now that I'm upgrading my SLR to digital 
I'll really need the improved EXIF support. As my distribution (SUSE 10.1) 
does't include exiv2 support I'll have to compile from SVN. And that's what 
brings me here. (BTW, anyone know of an apt repository for SUSE that has 
kphotoalbum with exif support?) 

I did checkout, make -f Makefile.cvs and ./configure with zero errors, but 
then make fails with the following output:

=============== start make output ====================
{...]
compiling /data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.cpp
g++ -DHAVE_CONFIG_H -I./kphotoalbum/MainWindow 
-I/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow -I. 
-I/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/.. -I/opt/kde3/include 
-I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT 
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions 
-DQT_NO_CAST_ASCII -DQT_CAST_NO_ASCII -fPIC -DPIC 
-c /data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.cpp 
-o ./kphotoalbum/MainWindow/.libs/HtmlExportDialog.o 
-Wp,-MD,./kphotoalbum/MainWindow/.deps/HtmlExportDialog.TUlo
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.moc:22: 
error: reference to 'MainWindow' is ambiguous
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.h:34: error: 
candidates are: namespace MainWindow { }
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/../MainWindow/MainWindow.h:78: 
error:                 class MainWindow::MainWindow
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.moc:27: 
error: reference to 'MainWindow' is ambiguous
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.h:34: error: 
candidates are: namespace MainWindow { }
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/../MainWindow/MainWindow.h:78: 
error:                 class MainWindow::MainWindow
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.moc:28: 
error: reference to 'MainWindow' is ambiguous
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.h:34: error: 
candidates are: namespace MainWindow { }
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/../MainWindow/MainWindow.h:78: 
error:                 class MainWindow::MainWindow
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.moc:50: 
error: reference to 'MainWindow' is ambiguous
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.h:34: error: 
candidates are: namespace MainWindow { }
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/../MainWindow/MainWindow.h:78: 
error:                 class MainWindow::MainWindow
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.moc:78: 
error: reference to 'MainWindow' is ambiguous
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.h:34: error: 
candidates are: namespace MainWindow { }
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/../MainWindow/MainWindow.h:78: 
error:                 class MainWindow::MainWindow
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.moc:87: 
error: reference to 'MainWindow' is ambiguous
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.h:34: error: 
candidates are: namespace MainWindow { }
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/../MainWindow/MainWindow.h:78: 
error:                 class MainWindow::MainWindow
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.moc:100: 
error: reference to 'MainWindow' is ambiguous
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.h:34: error: 
candidates are: namespace MainWindow { }
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/../MainWindow/MainWindow.h:78: 
error:                 class MainWindow::MainWindow
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.moc:106: 
error: reference to 'MainWindow' is ambiguous
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.h:34: error: 
candidates are: namespace MainWindow { }
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/../MainWindow/MainWindow.h:78: 
error:                 class MainWindow::MainWindow
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.moc:111: 
error: reference to 'MainWindow' is ambiguous
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/HtmlExportDialog.h:34: error: 
candidates are: namespace MainWindow { }
/data/cvs/KPhotoAlbum-src/kphotoalbum/MainWindow/../MainWindow/MainWindow.h:78: 
error:                 class MainWindow::MainWindow
Error creating ./kphotoalbum/MainWindow/HtmlExportDialog.lo. Exit status 1.
make: *** [all] Error 1
=============== end make output ====================

I'm using gcc-4.1.0 and kde-3.5.2. 

-- 
Rui Malheiro
6 Mil - Tecnologias de Informção, Lda.
Lisboa, Portugal  <http://www.6mil.pt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /mailman/pipermail/kphotoalbum/attachments/20060603/4eaa3785/attachment.pgp


More information about the KPhotoAlbum mailing list