[Digikam-users] Problems compiling beta5 on Debian sid
Tobias Schula
tobias at schula.org
Tue May 10 12:44:10 BST 2011
Hi!
When trying to compile the current beta, make stops at 9%, complaining about
opencv. I have the libcv from the debian repos (libcv-dev_2.1.0-4_amd64.deb)
installed and digikam 1.9 compiles and installes fine. Here are the error
messages make gives me:
[ 8%] Built target kface_automoc
[ 9%] Building CXX object
extra/libkface/libkface/CMakeFiles/kface.dir/kfaceutils.cpp.o
In file included from /usr/include/opencv/cxcore.h:1826:0,
from /usr/include/opencv/cv.h:58,
from /usr/local/src/digikam/digikam-2.0.0-
beta5/extra/libkface/libkface/kfaceutils.h:35,
from /usr/local/src/digikam/digikam-2.0.0-
beta5/extra/libkface/libkface/kfaceutils.cpp:30:
/usr/include/opencv/cxcore.hpp:177:13: error: ‘ptrdiff_t’ does not name a type
In file included from /usr/include/opencv/cxcore.hpp:2307:0,
from /usr/include/opencv/cxcore.h:1826,
from /usr/include/opencv/cv.h:58,
from /usr/local/src/digikam/digikam-2.0.0-
beta5/extra/libkface/libkface/kfaceutils.h:35,
from /usr/local/src/digikam/digikam-2.0.0-
beta5/extra/libkface/libkface/kfaceutils.cpp:30:
/usr/include/opencv/cxoperations.hpp:2043:15: error: ‘ptrdiff_t’ does not name
a type
/usr/include/opencv/cxoperations.hpp:2591:31: error: ‘ptrdiff_t’ does not name
a type
In file included from /usr/include/opencv/cxcore.hpp:2308:0,
from /usr/include/opencv/cxcore.h:1826,
from /usr/include/opencv/cv.h:58,
from /usr/local/src/digikam/digikam-2.0.0-
beta5/extra/libkface/libkface/kfaceutils.h:35,
from /usr/local/src/digikam/digikam-2.0.0-
beta5/extra/libkface/libkface/kfaceutils.cpp:30:
/usr/include/opencv/cxmat.hpp: In member function ‘void
cv::Mat::locateROI(cv::Size&, cv::Point&) const’:
/usr/include/opencv/cxmat.hpp:387:5: error: ‘ptrdiff_t’ was not declared in
this scope
/usr/include/opencv/cxmat.hpp:387:5: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:
‘std::ptrdiff_t’
/usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:
‘std::ptrdiff_t’
/usr/include/opencv/cxmat.hpp:387:15: error: expected ‘;’ before ‘delta1’
/usr/include/opencv/cxmat.hpp:389:9: error: ‘delta1’ was not declared in this
scope
/usr/include/opencv/cxmat.hpp:398:31: error: ‘delta2’ was not declared in this
scope
/usr/include/opencv/cxmat.hpp: In member function ‘cv::Point
cv::MatConstIterator_<_Tp>::pos() const’:
/usr/include/opencv/cxmat.hpp:3459:9: error: ‘ptrdiff_t’ was not declared in
this scope
/usr/include/opencv/cxmat.hpp:3459:9: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:
‘std::ptrdiff_t’
/usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:
‘std::ptrdiff_t’
/usr/include/opencv/cxmat.hpp:3459:19: error: expected ‘;’ before ‘ofs’
/usr/include/opencv/cxmat.hpp:3460:23: error: ‘ofs’ was not declared in this
scope
/usr/include/opencv/cxmat.hpp:3460:66: error: expected ‘)’ before ‘y’
/usr/include/opencv/cxmat.hpp:3465:9: error: ‘ptrdiff_t’ was not declared in
this scope
/usr/include/opencv/cxmat.hpp:3465:9: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:
‘std::ptrdiff_t’
/usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note:
‘std::ptrdiff_t’
/usr/include/opencv/cxmat.hpp:3465:19: error: expected ‘;’ before ‘ofs’
/usr/include/opencv/cxmat.hpp:3466:23: error: ‘ofs’ was not declared in this
scope
make[2]: *** [extra/libkface/libkface/CMakeFiles/kface.dir/kfaceutils.cpp.o]
Fehler 1
make[1]: *** [extra/libkface/libkface/CMakeFiles/kface.dir/all] Fehler 2
make: *** [all] Fehler 2
More information about the Digikam-users
mailing list