Error on compilation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error on compilation

Teudimundo
Hi,

I have an error trying to compile digikam from svn, I attach the output,
can someone help me?

--Tommaso



make[5]: Entering directory `/home/tommaso/digikam/graphics/digikam/libs/widgets/metadata'
/usr/lib/qt-3.3/bin/moc ./metadatalistview.h -o metadatalistview.moc
if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../digikam/libs/dmetadata -I../../../../digikam/libs/dimg -I../../../../digikam/digikam  -I/usr/include/kde -I/usr/lib/qt-3.3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -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 -DQT_CLEAN_NAMESPACE  -MT metadatalistview.lo -MD -MP -MF ".deps/metadatalistview.Tpo" -c -o metadatalistview.lo metadatalistview.cpp; \
        then mv -f ".deps/metadatalistview.Tpo" ".deps/metadatalistview.Plo"; else rm -f ".deps/metadatalistview.Tpo"; exit 1; fi
metadatawidget.h:94: error: expected unqualified-id before '&' token
metadatawidget.h:94: error: expected ',' or '...' before '&' token
metadatawidget.h:94: error: ISO C++ forbids declaration of 'parameter' with no type
metadatawidget.h:95: error: type 'Digikam::DMetadata' is not derived from type 'Digikam::MetadataWidget'
metadatawidget.h:95: error: expected ';' before '&' token
metadatawidget.h:97: error: expected unqualified-id before '&' token
metadatawidget.h:97: error: expected ',' or '...' before '&' token
metadatawidget.h:97: error: ISO C++ forbids declaration of 'parameter' with no type
metadatawidget.h:98: error: expected unqualified-id before '&' token
metadatawidget.h:98: error: expected ',' or '...' before '&' token
metadatawidget.h:99: error: ISO C++ forbids declaration of 'parameter' with no type
metadatawidget.h:99: error: 'void Digikam::MetadataWidget::setIfdList(int)' cannot be overloaded
metadatawidget.h:97: error: with 'void Digikam::MetadataWidget::setIfdList(int)'
metadatalistview.h:55: error: 'class Digikam::DMetadata::MetaDataMap' has not been declared
metadatalistview.h:56: error: 'class Digikam::DMetadata::MetaDataMap' has not been declared
metadatalistview.cpp:130: error: variable or field 'setIfdList' declared void
metadatalistview.cpp:130: error: 'int Digikam::MetadataListView::setIfdList' is not a static member of 'class Digikam::MetadataListView'
metadatalistview.cpp:130: error: 'MetaDataMap' is not a member of 'Digikam::DMetadata'
metadatalistview.cpp:130: error: expected primary-expression before 'const'
metadatalistview.cpp:130: error: initializer expression list treated as compound expression
metadatalistview.cpp:131: error: expected ',' or ';' before '{' token
metadatalistview.moc:103: error: expected `}' at end of input
make[5]: *** [metadatalistview.lo] Error 1

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Error on compilation

Gilles Caulier-4
Tommaso,

Please use libkexiv2 from svn trunk, and all will be fine...

Gilles Caulier


2007/5/3, Tommaso Schiavinotto <[hidden email]>:
Hi,

I have an error trying to compile digikam from svn, I attach the output,
can someone help me?

--Tommaso



make[5]: Entering directory `/home/tommaso/digikam/graphics/digikam/libs/widgets/metadata'
/usr/lib/qt-3.3/bin/moc ./metadatalistview.h -o metadatalistview.moc
if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../digikam/libs/dmetadata -I../../../../digikam/libs/dimg -I../../../../digikam/digikam  -I/usr/include/kde -I/usr/lib/qt- 3.3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -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 -DQT_CLEAN_NAMESPACE  -MT metadatalistview.lo -MD -MP -MF ".deps/metadatalistview.Tpo" -c -o metadatalistview.lo metadatalistview.cpp; \
        then mv -f ".deps/metadatalistview.Tpo" ".deps/metadatalistview.Plo"; else rm -f ".deps/metadatalistview.Tpo"; exit 1; fi
metadatawidget.h:94: error: expected unqualified-id before '&' token
metadatawidget.h:94: error: expected ',' or '...' before '&' token
metadatawidget.h:94: error: ISO C++ forbids declaration of 'parameter' with no type
metadatawidget.h:95: error: type 'Digikam::DMetadata' is not derived from type 'Digikam::MetadataWidget'
metadatawidget.h:95: error: expected ';' before '&' token
metadatawidget.h :97: error: expected unqualified-id before '&' token
metadatawidget.h:97: error: expected ',' or '...' before '&' token
metadatawidget.h:97: error: ISO C++ forbids declaration of 'parameter' with no type
metadatawidget.h:98: error: expected unqualified-id before '&' token
metadatawidget.h:98: error: expected ',' or '...' before '&' token
metadatawidget.h:99: error: ISO C++ forbids declaration of 'parameter' with no type
metadatawidget.h:99: error: 'void Digikam::MetadataWidget::setIfdList(int)' cannot be overloaded
metadatawidget.h:97: error: with 'void Digikam::MetadataWidget::setIfdList(int)'
metadatalistview.h :55: error: 'class Digikam::DMetadata::MetaDataMap' has not been declared
metadatalistview.h:56: error: 'class Digikam::DMetadata::MetaDataMap' has not been declared
metadatalistview.cpp:130: error: variable or field 'setIfdList' declared void
metadatalistview.cpp:130: error: 'int Digikam::MetadataListView::setIfdList' is not a static member of 'class Digikam::MetadataListView'
metadatalistview.cpp:130: error: 'MetaDataMap' is not a member of 'Digikam::DMetadata'
metadatalistview.cpp:130: error: expected primary-expression before 'const'
metadatalistview.cpp:130: error: initializer expression list treated as compound expression
metadatalistview.cpp:131: error: expected ',' or ';' before '{' token
metadatalistview.moc:103: error: expected `}' at end of input
make[5]: *** [metadatalistview.lo] Error 1

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users