[Digikam-users] Error compiling svn 1031743

Gilles Caulier caulier.gilles at gmail.com
Mon Oct 5 22:48:43 BST 2009


2009/10/5 Guenther Erhard <guenther.erhard at gmx.de>:
> Hi,
>
> I wanted to compile the current svn to check the changes Gilles have
> made concerning a crash at the batch tool.
>
> Unfortunately something must have changed since version 1029402 which
> complies perfectly on my machine:
>
> Scanning dependencies of target digikamcore
> [  0%] Building CXX object
> digikam/digikam/CMakeFiles/digikamcore.dir/digikamcore_automoc.o
> [  0%] Building CXX object
> digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/dimg.o
> In file included from /usr/include/QtCore/qdebug.h:42,
>                 from /usr/include/QtCore/QDebug:1,
>
> from /home/guenni/tmp/kde4/graphics/digikam/digikam/../libs/dmetadata/captionvalues.h:32,
>
> from /home/guenni/tmp/kde4/graphics/digikam/digikam/../libs/dmetadata/dmetadata.h:39,
>
> from /home/guenni/tmp/kde4/graphics/digikam/libs/dimg/dimg.cpp:74:

There is nothing special there. All is relevant of Qt4, not digiKam.
Something is broken on your computer ?

> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(char)’:
> /usr/include/QtCore/qhash.h:59: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:59: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h:59: error: declaration of ‘unsigned int key’
> shadows a parameter
> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(unsigned
> char)’:
> /usr/include/QtCore/qhash.h:60: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:60: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h:60: error: declaration of ‘unsigned int key’
> shadows a parameter
> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(signed
> char)’:
> /usr/include/QtCore/qhash.h:61: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:61: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h:61: error: declaration of ‘unsigned int key’
> shadows a parameter
> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(short
> unsigned int)’:
> /usr/include/QtCore/qhash.h:62: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:62: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h:62: error: declaration of ‘unsigned int key’
> shadows a parameter
> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(short
> int)’:
> /usr/include/QtCore/qhash.h:63: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:63: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h:63: error: declaration of ‘unsigned int key’
> shadows a parameter
> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(int)’:
> /usr/include/QtCore/qhash.h:65: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:65: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h:65: error: declaration of ‘unsigned int key’
> shadows a parameter
> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(long
> unsigned int)’:
> /usr/include/QtCore/qhash.h:69: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:69: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h:69: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:69: error: expected `;' before ‘unsigned’
> /usr/include/QtCore/qhash.h:71: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:71: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(long int)’:
> /usr/include/QtCore/qhash.h:74: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(quint64)’:
> /usr/include/QtCore/qhash.h:78: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:78: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h:78: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:78: error: expected `;' before ‘unsigned’
> /usr/include/QtCore/qhash.h:80: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:80: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h: In function ‘unsigned int qHash(const T*)’:
> /usr/include/QtCore/qhash.h:99: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:99: error: expected ‘;’ before ‘unsigned’
> /usr/include/QtCore/qhash.h:99: error: expected primary-expression
> before ‘unsigned’
> /usr/include/QtCore/qhash.h:99: error: expected `;' before ‘unsigned’
> make[2]: ***
> [digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/dimg.o] Fehler
> 1
> make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Fehler 2
>
> Also I got now a warning during cmake that marble plugin will not
> compile:

Don't care there. forget it...

Gilles



More information about the Digikam-users mailing list