<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 09/22/2010 11:58 AM, Gilles Caulier wrote:
<blockquote
cite="mid:AANLkTimuk2pmfNxJa+6AHE8pbUjhJjMWwNQwa80RxRac@mail.gmail.com"
type="cite">
<pre wrap="">checkout and try again
</pre>
</blockquote>
<br>
checked out , now the libkmap error disappeared and the following
error<br>
appears,<br>
<br>
<small>/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:81:11:
error: ‘DatabaseFace’ was not declared in this
scope <br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:81:23:
error: template argument 1 is invalid<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:95:47:
error: ‘DatabaseFace’ does not name a type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:95:61:
error: ISO C++ forbids declaration of ‘face’ with no type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:96:59:
error: ‘DatabaseFace’ does not name a type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:96:73:
error: ISO C++ forbids declaration of ‘face’ with no type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:239:61:
error: ‘DatabaseFace’ does not name a type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:239:75:
error: ISO C++ forbids declaration of ‘face’ with no type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:
In member function ‘Digikam::RegionFrameItem*
Digikam::FaceGroup::FaceGroupPriv::createItem(const int&)’:<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:242:32:
error: request for member ‘region’ in ‘face’, which is of
non-class type ‘const int’<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:
At global scope:<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:263:74:
error: ‘DatabaseFace’ does not name a type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:263:88:
error: ISO C++ forbids declaration of ‘face’ with no type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:
In member function ‘Digikam::AssignNameWidget*
Digikam::FaceGroup::FaceGroupPriv::createAssignNameWidget(const
int&, const QVariant&)’:<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:266:18:
error: request for member ‘type’ in ‘face’, which is of non-class
type ‘const int’<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:268:14:
error: ‘DatabaseFace’ has not been declared<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:271:14:
error: ‘DatabaseFace’ has not been declared<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:274:14:
error: ‘DatabaseFace’ has not been declared<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:
In member function ‘void Digikam::FaceGroup::load()’:<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:308:29:
error: ‘class Digikam::FaceIface’ has no member named
‘databaseFaces’<br>
In file included from /usr/include/QtCore/qnamespace.h:45:0,<br>
from /usr/include/QtCore/qobjectdefs.h:45,<br>
from /usr/include/QtCore/qobject.h:47,<br>
from /usr/include/QtCore/QObject:1,<br>
from
/media/backup/kunal/TEMP/digikam/build/digikam/../../utilities/facedetection/facegroup.h:29,<br>
from
/media/backup/kunal/TEMP/digikam/build/digikam/facegroup.moc:10,<br>
from
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:25:<br>
/usr/include/QtCore/qglobal.h: At global scope:<br>
/usr/include/QtCore/qglobal.h: In instantiation of
‘QForeachContainer<int>’:<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:310:5:
instantiated from here<br>
/usr/include/QtCore/qglobal.h:2228:32: error: ‘int’ is not a
class, struct, or union type<br>
/usr/include/QtCore/qglobal.h:2228:35: error: ‘int’ is not a
class, struct, or union type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:
In member function ‘void Digikam::FaceGroup::load()’:<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:310:5:
error: ‘class QForeachContainer<int>’ has no member named
‘i’<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:310:5:
error: ‘class QForeachContainer<int>’ has no member named
‘e’<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:310:5:
error: ‘class QForeachContainer<int>’ has no member named
‘i’<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:310:5:
error: ‘DatabaseFace’ does not name a type<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:312:47:
error: ‘face’ was not declared in this scope<br>
In file included from /usr/include/QtCore/qnamespace.h:45:0,<br>
from /usr/include/QtCore/qobjectdefs.h:45,<br>
from /usr/include/QtCore/qobject.h:47,<br>
from /usr/include/QtCore/QObject:1,<br>
from
/media/backup/kunal/TEMP/digikam/build/digikam/../../utilities/facedetection/facegroup.h:29,<br>
from
/media/backup/kunal/TEMP/digikam/build/digikam/facegroup.moc:10,<br>
from
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:25:<br>
/usr/include/QtCore/qglobal.h: In constructor
‘QForeachContainer<T>::QForeachContainer(const T&) [with
T = int]’:<br>
/media/backup/kunal/TEMP/digikam/utilities/facedetection/facegroup.cpp:310:5:
instantiated from here<br>
/usr/include/QtCore/qglobal.h:2225:81: error: using invalid field
‘QForeachContainer<T>::i’<br>
/usr/include/QtCore/qglobal.h:2225:81: error: request for member
‘begin’ in
‘((QForeachContainer<int>*)this)->QForeachContainer<int>::c’,
which is of non-class type ‘const int’<br>
/usr/include/QtCore/qglobal.h:2225:81: error: using invalid field
‘QForeachContainer<T>::e’<br>
/usr/include/QtCore/qglobal.h:2225:81: error: request for member
‘end’ in
‘((QForeachContainer<int>*)this)->QForeachContainer<int>::c’,
which is of non-class type ‘const int’<br>
make[2]: ***
[digikam/CMakeFiles/digikam.dir/__/utilities/facedetection/facegroup.o]
Error 1<br>
make[2]: *** Waiting for unfinished jobs....<br>
make[1]: *** [digikam/CMakeFiles/digikam.dir/all] Error 2<br>
make: *** [all] Error 2<br>
</small><br>
<br>
<blockquote
cite="mid:AANLkTimuk2pmfNxJa+6AHE8pbUjhJjMWwNQwa80RxRac@mail.gmail.com"
type="cite">
<pre wrap="">
Gilles
2010/9/22 kunal ghosh <a class="moz-txt-link-rfc2396E" href="mailto:kunal.t2@gmail.com"><kunal.t2@gmail.com></a>:
</pre>
<blockquote type="cite">
<pre wrap=""> I get the following error while compiling libkmap, i have updated and
compiled
libkipi
libkexiv2
libkdcraw
libkface
i have also updated marble-devel to the latest available in the repository.
any suggestions ?
[kunal@linux-heiz:libkmap/build]$ make -j
4
(09-20 21:38)
[ 0%] Built target libkmap_demo_automoc
[ 0%] Built target kmap_automoc
[ 5%] [ 10%] [ 15%] Building CXX object
libkmap/CMakeFiles/kmap.dir/backend-marble.o
Building CXX object
libkmap/CMakeFiles/kmap.dir/backend-googlemaps.o
Building CXX object
libkmap/CMakeFiles/kmap.dir/backend-marble-layer.o
/media/backup/kunal/graphics/libkmap/libkmap/backend-marble-layer.cpp:50:6:
warning: unused parameter
?viewport?
/media/backup/kunal/graphics/libkmap/libkmap/backend-marble-layer.cpp:50:6:
warning: unused parameter ?layer?
Linking CXX shared library ../lib/libkmap.so
[ 70%] Built target
kmap
Scanning dependencies of target libkmap_demo
[ 75%] Building CXX object
demo/CMakeFiles/libkmap_demo.dir/libkmap_demo_automoc.o
[ 80%] [ 85%] Building CXX object
demo/CMakeFiles/libkmap_demo.dir/demo-main.o
Building CXX object
demo/CMakeFiles/libkmap_demo.dir/mainwindow.o
[ 90%] Building CXX object
demo/CMakeFiles/libkmap_demo.dir/myimageitem.o
[ 95%] Building CXX object
demo/CMakeFiles/libkmap_demo.dir/mytreewidget.o
/media/backup/kunal/graphics/libkmap/demo/demo-main.cpp:37:21: fatal
error: version.h: No such file or
directory
compilation terminated.
make[2]: *** [demo/CMakeFiles/libkmap_demo.dir/demo-main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [demo/CMakeFiles/libkmap_demo.dir/all] Error 2
make: *** [all] Error 2
_______________________________________________
Digikam-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/digikam-devel">https://mail.kde.org/mailman/listinfo/digikam-devel</a>
</pre>
</blockquote>
<pre wrap="">_______________________________________________
Digikam-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/digikam-devel">https://mail.kde.org/mailman/listinfo/digikam-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>