digikam-3.3.0-beta1 build failed CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `~ForegroundDetector': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::create(int, int, int)': /usr/include/opencv2/core/mat.hpp:353: undefined reference to `cv::Mat::create(int, int const*, int)' /usr/include/opencv2/core/mat.hpp:353: undefined reference to `cv::Mat::create(int, int const*, int)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `tld::ForegroundDetector::nextIteration(cv::Mat const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:60: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:60: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:60: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:60: undefined reference to `cv::absdiff(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:61: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:61: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:61: undefined reference to `cv::threshold(cv::_InputArray const&, cv::_OutputArray const&, double, double, int)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:63: undefined reference to `cv::Mat::operator _IplImage() const' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:64: undefined reference to `CBlobResult::CBlobResult(_IplImage*, _IplImage*, unsigned char)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:66: undefined reference to `CBlobResult::Filter(CBlobResult&, int, COperadorBlob*, int, double, double)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:73: undefined reference to `CBlobResult::GetBlob(int)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:74: undefined reference to `CBlob::GetBoundingBox()' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:64: undefined reference to `CBlobResult::~CBlobResult()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `tld::ForegroundDetector::nextIteration(cv::Mat const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:64: undefined reference to `CBlobResult::~CBlobResult()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `CBlobGetArea::operator()(CBlob&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/../3rdparty/cvblobs/BlobOperators.h:80: undefined reference to `CBlob::Area()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::~Mat()': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<float> >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<int> >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `tld::TLD::getObjModel(KFaceIface::UnitFaceModel const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:339: undefined reference to `KFaceIface::UnitFaceModel::deserialisePositivePatches() const' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:340: undefined reference to `KFaceIface::UnitFaceModel::deserialiseNegativePatches() const' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:360: undefined reference to `KFaceIface::UnitFaceModel::deserialiseFeatures() const' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:361: undefined reference to `KFaceIface::UnitFaceModel::deserialiseLeaves() const' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList': /usr/include/QtCore/qlist.h:121: undefined reference to `QListData::shared_null' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `tld::TLD::putObjModel(KFaceIface::UnitFaceModel&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:415: undefined reference to `KFaceIface::UnitFaceModel::serialisePositivePatches(QList<QList<float> > const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:426: undefined reference to `KFaceIface::UnitFaceModel::serialiseNegativePatches(QList<QList<float> > const&)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList': /usr/include/QtCore/qlist.h:121: undefined reference to `QListData::shared_null' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `tld::TLD::putObjModel(KFaceIface::UnitFaceModel&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:477: undefined reference to `KFaceIface::UnitFaceModel::serialiseFeatures(QList<QList<QList<float> > > const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:478: undefined reference to `KFaceIface::UnitFaceModel::serialiseLeaves(QList<QList<QList<int> > > const&)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::clone() const': /usr/include/opencv2/core/mat.hpp:335: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /usr/include/opencv2/core/mat.hpp:335: undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `tld::TLD::processImage(cv::Mat const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:105: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:105: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:105: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::append(float const&)': /usr/include/QtCore/qlist.h:530: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::append(int const&)': /usr/include/QtCore/qlist.h:530: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::detach_helper(int)': /usr/include/QtCore/qlist.h:709: undefined reference to `QListData::detach(int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<float> >::detach_helper(int)': /usr/include/QtCore/qlist.h:709: undefined reference to `QListData::detach(int)' /usr/include/QtCore/qlist.h:713: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:684: undefined reference to `qFree(void*)' /usr/include/QtCore/qlist.h:694: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::append(QList<QList<float> > const&)': /usr/include/QtCore/qlist.h:519: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<float> >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' /usr/include/QtCore/qlist.h:684: undefined reference to `qFree(void*)' /usr/include/QtCore/qlist.h:694: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<float> >::append(QList<float> const&)': /usr/include/QtCore/qlist.h:519: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::detach_helper(int)': /usr/include/QtCore/qlist.h:709: undefined reference to `QListData::detach(int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<int> >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' /usr/include/QtCore/qlist.h:684: undefined reference to `qFree(void*)' /usr/include/QtCore/qlist.h:694: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<int> >::append(QList<int> const&)': /usr/include/QtCore/qlist.h:519: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<int> >::detach_helper(int)': /usr/include/QtCore/qlist.h:709: undefined reference to `QListData::detach(int)' /usr/include/QtCore/qlist.h:713: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:684: undefined reference to `qFree(void*)' /usr/include/QtCore/qlist.h:694: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::append(QList<QList<int> > const&)': /usr/include/QtCore/qlist.h:519: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `tld::tldNormalizeImg(cv::Mat const&, float*)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLDUtil.cpp:55: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLDUtil.cpp:55: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLDUtil.cpp:55: undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::operator()(cv::Rect_<int> const&) const': /usr/include/opencv2/core/mat.hpp:379: undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&)' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::clone() const': /usr/include/opencv2/core/mat.hpp:335: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /usr/include/opencv2/core/mat.hpp:335: undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' collect2: error: ld returned 1 exit status Reproducible: Always
I susgest to use this script provided by opencv project where opencv version can be checked: http://opencv.willowgarage.com/wiki/FindOpenCV.cmake ... in replacement of cmake script/rules used in digiKam... Gilles Caulier
Created attachment 80296 [details] build log I replaced files extra/libkface/cmake/modules_opencv/FindOpenCV.cmake core/cmake/modules/modules_opencv/FindOpenCV.cmake with http://opencv.willowgarage.com/wiki/FindOpenCV.cmake but build still failed. CMakeFiles/cvblobs.dir/blob.cpp.o: In function `CBlob::ExternPerimeter(_IplImage*, bool, bool)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:274: undefined reference to `cvStartReadSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:278: undefined reference to `cvCreateSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:279: undefined reference to `cvStartAppendToSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:367: undefined reference to `cvEndWriteSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:369: undefined reference to `cvArcLength' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:371: undefined reference to `cvClearSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:286: undefined reference to `cvChangeSeqBlock' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:361: undefined reference to `cvCreateSeqBlock' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:352: undefined reference to `cvEndWriteSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:353: undefined reference to `cvArcLength' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:355: undefined reference to `cvClearSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:356: undefined reference to `cvStartAppendToSeq' CMakeFiles/cvblobs.dir/blob.cpp.o: In function `CBlob::GetBoundingBox()': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:516: undefined reference to `cvStartReadSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:525: undefined reference to `cvChangeSeqBlock' CMakeFiles/cvblobs.dir/blob.cpp.o: In function `CBlob::Mean(_IplImage*)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:433: undefined reference to `cvCreateImage' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:434: undefined reference to `cvSetZero' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:441: undefined reference to `cvDrawContours' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:448: undefined reference to `cvDrawContours' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:452: undefined reference to `cvSetImageROI' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:453: undefined reference to `cvAvgSdv' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:458: undefined reference to `cvReleaseImage' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:459: undefined reference to `cvResetImageROI' CMakeFiles/cvblobs.dir/blob.cpp.o: In function `CBlob::FillBlob(_IplImage*, CvScalar, int, int)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:653: undefined reference to `cvDrawContours' CMakeFiles/cvblobs.dir/blob.cpp.o: In function `CBlob::GetConvexHull()': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:675: undefined reference to `cvConvexHull2' CMakeFiles/cvblobs.dir/blob.cpp.o: In function `CBlob::JoinBlob(CBlob*)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:698: undefined reference to `cvStartAppendToSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:699: undefined reference to `cvStartReadSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:703: undefined reference to `cvChangeSeqBlock' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:704: undefined reference to `cvCreateSeqBlock' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:706: undefined reference to `cvEndWriteSeq' CMakeFiles/cvblobs.dir/blob.cpp.o: In function `CBlob::CBlob(unsigned int, CvPoint, CvSize)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:37: undefined reference to `cvCreateMemStorage' CMakeFiles/cvblobs.dir/blob.cpp.o: In function `CBlob::~CBlob()': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:114: undefined reference to `cvReleaseMemStorage' CMakeFiles/cvblobs.dir/blob.cpp.o: In function `CBlob::operator=(CBlob const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:75: undefined reference to `cvReleaseMemStorage' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/blob.cpp:77: undefined reference to `cvCreateMemStorage' CMakeFiles/cvblobs.dir/blob.cpp.o: In function `cvCloneSeq': /usr/include/opencv2/core/core_c.h:1059: undefined reference to `cvSeqSlice' /usr/include/opencv2/core/core_c.h:1059: undefined reference to `cvSeqSlice' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `CBlobContour::GetContourPoints()': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:225: undefined reference to `cvApproxChains' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:230: undefined reference to `cvStartReadSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:232: undefined reference to `cvCreateSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:233: undefined reference to `cvStartAppendToSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:242: undefined reference to `cvChangeSeqBlock' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:252: undefined reference to `cvCreateSeqBlock' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:254: undefined reference to `cvEndWriteSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:255: undefined reference to `cvClearSeq' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `CBlobContour::CBlobContour(CvPoint, CvMemStorage*)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:34: undefined reference to `cvCreateSeq' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `CBlobContour::operator=(CBlobContour const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:67: undefined reference to `cvClearSeq' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `cvCloneSeq': /usr/include/opencv2/core/core_c.h:1059: undefined reference to `cvSeqSlice' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `CBlobContour::operator=(CBlobContour const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:78: undefined reference to `cvClearSeq' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `cvCloneSeq': /usr/include/opencv2/core/core_c.h:1059: undefined reference to `cvSeqSlice' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `CBlobContour::AddChainCode(unsigned char)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:105: undefined reference to `cvSeqPush' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `CBlobContour::ResetChainCode()': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:113: undefined reference to `cvClearSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:118: undefined reference to `cvClearSeq' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `cvContourPerimeter': /usr/include/opencv2/imgproc/imgproc_c.h:364: undefined reference to `cvArcLength' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `CBlobContour::GetArea()': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:178: undefined reference to `cvContourArea' CMakeFiles/cvblobs.dir/BlobContour.cpp.o: In function `CBlobContour::GetMoment(int, int)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:198: undefined reference to `cvMoments' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobContour.cpp:201: undefined reference to `cvGetSpatialMoment' CMakeFiles/cvblobs.dir/BlobOperators.cpp.o: In function `CBlobGetHullPerimeter::operator()(CBlob&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:62: undefined reference to `cvArcLength' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:66: undefined reference to `cvClearSeq' CMakeFiles/cvblobs.dir/BlobOperators.cpp.o: In function `CBlobGetHullArea::operator()(CBlob&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:79: undefined reference to `cvContourArea' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:83: undefined reference to `cvClearSeq' CMakeFiles/cvblobs.dir/BlobOperators.cpp.o: In function `CBlobGetMaxYatMinX::operator()(CBlob&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:215: undefined reference to `cvStartReadSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:220: undefined reference to `cvChangeSeqBlock' CMakeFiles/cvblobs.dir/BlobOperators.cpp.o: In function `CBlobGetMinXatMinY::operator()(CBlob&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:108: undefined reference to `cvStartReadSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:112: undefined reference to `cvChangeSeqBlock' CMakeFiles/cvblobs.dir/BlobOperators.cpp.o: In function `CBlobGetXYInside::operator()(CBlob&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:422: undefined reference to `cvPointPolygonTest' CMakeFiles/cvblobs.dir/BlobOperators.cpp.o: In function `CBlobGetMinYatMaxX::operator()(CBlob&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:143: undefined reference to `cvStartReadSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:147: undefined reference to `cvChangeSeqBlock' CMakeFiles/cvblobs.dir/BlobOperators.cpp.o: In function `CBlobGetMaxXatMaxY::operator()(CBlob&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:179: undefined reference to `cvStartReadSeq' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/3rdparty/cvblobs/BlobOperators.cpp:183: undefined reference to `cvChangeSeqBlock' collect2: error: ld returned 1 exit status Generating resizeimagesdialog.moc make[2]: Leaving directory `/builddir/build/BUILD/digikam-3.3.0-beta1/i686-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/digikam-3.3.0-beta1/i686-redhat-linux-gnu/CMakeFiles make[2]: *** [lib/libcvblobs.so] Error 1 make[1]: *** [extra/libkface/OpenTLD/src/3rdparty/cvblobs/CMakeFiles/cvblobs.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Generating rajcelogindialog.moc [ 1%] Building CXX object extra/libkface/OpenTLD/src/libopentld/CMakeFiles/opentld.dir/tld/VarianceFilter.cpp.o cd /builddir/build/BUILD/digikam-3.3.0-beta1/i686-redhat-linux-gnu/extra/libkface/OpenTLD/src/libopentld && /usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=21 -DKDE_DEFAULT_DEBUG_AREA=51005 -DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -Dopentld_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/builddir/build/BUILD/digikam-3.3.0-beta1/i686-redhat-linux-gnu/extra/libkface/OpenTLD/src/libopentld -I/builddir/build/BUILD/digikam-3.3.0- beta1/extra/libkface/OpenTLD/src/libopentld -I/builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld -I/builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/../3rdparty/cvblobs -I/builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/../../../libkface -I/usr/include/kde4 -I/usr/include/kde4/KDE -I/usr/include/KDE -I/usr/include/phonon -I/usr/include/QtXmlPatterns -I/usr/include/QtXml -I/usr/include/QtWebKit -I/usr/include/QtUiTools -I/usr/include/QtTest -I/usr/include/QtSvg -I/usr/include/QtSql -I/usr/include/QtScriptTools -I/usr/include/QtScript -I/usr/include/QtOpenGL -I/usr/include/QtNetwork -I/usr/include/QtMultimedia -I/usr/include/QtHelp -I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib/qt4/mkspecs/default -I/usr/include/opencv -fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -D_GNU_ SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -o CMakeFiles/opentld.dir/tld/VarianceFilter.cpp.o -c /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/VarianceFilter.cpp Generating rajcewindow.moc make[2]: Leaving directory `/builddir/build/BUILD/digikam-3.3.0-beta1/i686-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/digikam-3.3.0-beta1/i686-redhat-linux-gnu/CMakeFiles [ 1%] Built target kipiplugin_batchprocessimages_automoc make[2]: Leaving directory `/builddir/build/BUILD/digikam-3.3.0-beta1/i686-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/digikam-3.3.0-beta1/i686-redhat-linux-gnu/CMakeFiles [ 1%] Built target kipiplugin_rajceexport_automoc Linking CXX shared library ../../../../../lib/libopentld.so cd /builddir/build/BUILD/digikam-3.3.0-beta1/i686-redhat-linux-gnu/extra/libkface/OpenTLD/src/libopentld && /usr/bin/cmake -E cmake_link_script CMakeFiles/opentld.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-z,relro -shared -Wl,-soname,libopentld.so -o ../../../../../lib/libopentld.so CMakeFiles/opentld.dir/tld/Clustering.cpp.o CMakeFiles/opentld.dir/tld/DetectionResult.cpp.o CMakeFiles/opentld.dir/tld/DetectorCascade.cpp.o CMakeFiles/opentld.dir/tld/EnsembleClassifier.cpp.o CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o CMakeFiles/opentld.dir/tld/NNClassifier.cpp.o CMakeFiles/opentld.dir/tld/TLD.cpp.o CMakeFiles/opentld.dir/ tld/TLDUtil.cpp.o CMakeFiles/opentld.dir/tld/VarianceFilter.cpp.o -L/usr/lib/kde4/devel CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `~ForegroundDetector': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::create(int, int, int)': /usr/include/opencv2/core/mat.hpp:353: undefined reference to `cv::Mat::create(int, int const*, int)' /usr/include/opencv2/core/mat.hpp:353: undefined reference to `cv::Mat::create(int, int const*, int)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `tld::ForegroundDetector::nextIteration(cv::Mat const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:60: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:60: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:60: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:60: undefined reference to `cv::absdiff(cv::_InputArray const&, cv::_InputArray const&, cv::_OutputArray const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:61: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:61: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:61: undefined reference to `cv::threshold(cv::_InputArray const&, cv::_OutputArray const&, double, double, int)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:63: undefined reference to `cv::Mat::operator _IplImage() const' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:64: undefined reference to `CBlobResult::CBlobResult(_IplImage*, _IplImage*, unsigned char)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:66: undefined reference to `CBlobResult::Filter(CBlobResult&, int, COperadorBlob*, int, double, double)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:73: undefined reference to `CBlobResult::GetBlob(int)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:74: undefined reference to `CBlob::GetBoundingBox()' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:64: undefined reference to `CBlobResult::~CBlobResult()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `tld::ForegroundDetector::nextIteration(cv::Mat const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/ForegroundDetector.cpp:64: undefined reference to `CBlobResult::~CBlobResult()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `CBlobGetArea::operator()(CBlob&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/../3rdparty/cvblobs/BlobOperators.h:80: undefined reference to `CBlob::Area()' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::~Mat()': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/ForegroundDetector.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<float> >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<int> >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `tld::TLD::getObjModel(KFaceIface::UnitFaceModel const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:339: undefined reference to `KFaceIface::UnitFaceModel::deserialisePositivePatches() const' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:340: undefined reference to `KFaceIface::UnitFaceModel::deserialiseNegativePatches() const' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:360: undefined reference to `KFaceIface::UnitFaceModel::deserialiseFeatures() const' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:361: undefined reference to `KFaceIface::UnitFaceModel::deserialiseLeaves() const' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList': /usr/include/QtCore/qlist.h:121: undefined reference to `QListData::shared_null' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `tld::TLD::putObjModel(KFaceIface::UnitFaceModel&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:415: undefined reference to `KFaceIface::UnitFaceModel::serialisePositivePatches(QList<QList<float> > const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:426: undefined reference to `KFaceIface::UnitFaceModel::serialiseNegativePatches(QList<QList<float> > const&)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList': /usr/include/QtCore/qlist.h:121: undefined reference to `QListData::shared_null' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `tld::TLD::putObjModel(KFaceIface::UnitFaceModel&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:477: undefined reference to `KFaceIface::UnitFaceModel::serialiseFeatures(QList<QList<QList<float> > > const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:478: undefined reference to `KFaceIface::UnitFaceModel::serialiseLeaves(QList<QList<QList<int> > > const&)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::clone() const': /usr/include/opencv2/core/mat.hpp:335: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /usr/include/opencv2/core/mat.hpp:335: undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `tld::TLD::processImage(cv::Mat const&)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:105: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:105: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLD.cpp:105: undefined reference to `cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::append(float const&)': /usr/include/QtCore/qlist.h:530: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::append(int const&)': /usr/include/QtCore/qlist.h:530: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::detach_helper(int)': /usr/include/QtCore/qlist.h:709: undefined reference to `QListData::detach(int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<float>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<float> >::detach_helper(int)': /usr/include/QtCore/qlist.h:709: undefined reference to `QListData::detach(int)' /usr/include/QtCore/qlist.h:713: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:684: undefined reference to `qFree(void*)' /usr/include/QtCore/qlist.h:694: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<float> > >::append(QList<QList<float> > const&)': /usr/include/QtCore/qlist.h:519: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<float> >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' /usr/include/QtCore/qlist.h:684: undefined reference to `qFree(void*)' /usr/include/QtCore/qlist.h:694: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<float> >::append(QList<float> const&)': /usr/include/QtCore/qlist.h:519: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::detach_helper(int)': /usr/include/QtCore/qlist.h:709: undefined reference to `QListData::detach(int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<int>::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<int> >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' /usr/include/QtCore/qlist.h:684: undefined reference to `qFree(void*)' /usr/include/QtCore/qlist.h:694: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<int> >::append(QList<int> const&)': /usr/include/QtCore/qlist.h:519: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<int> >::detach_helper(int)': /usr/include/QtCore/qlist.h:709: undefined reference to `QListData::detach(int)' /usr/include/QtCore/qlist.h:713: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:679: undefined reference to `QListData::detach_grow(int*, int)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::free(QListData::Data*)': /usr/include/QtCore/qlist.h:759: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::detach_helper_grow(int, int)': /usr/include/QtCore/qlist.h:684: undefined reference to `qFree(void*)' /usr/include/QtCore/qlist.h:694: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<QList<int> > >::append(QList<QList<int> > const&)': /usr/include/QtCore/qlist.h:519: undefined reference to `QListData::append()' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `tld::tldNormalizeImg(cv::Mat const&, float*)': /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLDUtil.cpp:55: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLDUtil.cpp:55: undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' /builddir/build/BUILD/digikam-3.3.0-beta1/extra/libkface/OpenTLD/src/libopentld/tld/TLDUtil.cpp:55: undefined reference to `cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::operator()(cv::Rect_<int> const&) const': /usr/include/opencv2/core/mat.hpp:379: undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&)' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::clone() const': /usr/include/opencv2/core/mat.hpp:335: undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' /usr/include/opencv2/core/mat.hpp:335: undefined reference to `cv::Mat::copyTo(cv::_OutputArray const&) const' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:298: undefined reference to `cv::Mat::copySize(cv::Mat const&)' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::operator=(cv::Mat const&)': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `cv::Mat::release()': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' CMakeFiles/opentld.dir/tld/TLDUtil.cpp.o: In function `~Mat': /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' /usr/include/opencv2/core/mat.hpp:278: undefined reference to `cv::fastFree(void*)' /usr/include/opencv2/core/mat.hpp:367: undefined reference to `cv::Mat::deallocate()' collect2: error: ld returned 1 exit status
*** Bug 320763 has been marked as a duplicate of this bug. ***
Try installing OpenCV 2.4.4. or later (2.4.5) and rebuild
Created attachment 80313 [details] installed packages opencv-2.4.5 was installed.
Nucleo, OpenCV 2.4.5 is installed here and all compile fine (Mageia 3) Perhaps you forget to install an OPenCV sub-packages ? Gilles Caulier
Packages installed (see installed packages): opencv-2.4.5, opencv-core-2.4.5, opencv-devel-2.4.5. There is only opencv-python subpackage not installed .
This part of build log looks not related with opencv: /usr/include/QtCore/qlist.h:694: undefined reference to `qFree(void*)' CMakeFiles/opentld.dir/tld/TLD.cpp.o: In function `QList<QList<float> >::append(QList<float> const&)': /usr/include/QtCore/qlist.h:519: undefined reference to `QListData::append()' (all qt packages also installed).
another possible workaround would be updating your linker cache I use env-update to update /etc/ld.so.cache,i am not sure about fedora
The build fails when using -DBUILD_SHARED_LIBS:BOOL=ON seems there's some bundled convenience libs in libkface/OpenTLD that miss at least one of: target_link_libs symbol exports explictly marking it as static lib I'll work on a patch to mark these as static.
Git commit dd718f4948c106e67c15c9562832f8389ef3c338 by Rex Dieter. Committed on 05/06/2013 at 15:58. Pushed by rdieter into branch 'master'. explictly mark opentld libs static M +2 -1 OpenTLD/src/3rdparty/cvblobs/CMakeLists.txt M +2 -1 OpenTLD/src/libopentld/CMakeLists.txt http://commits.kde.org/libkface/dd718f4948c106e67c15c9562832f8389ef3c338
Which version is fixed now? This git repository: git://anongit.kde.org/digikam ? Or the tar.gz on KDE ?
It's fixed in libkface git repo (will be bundled when subsequent digikam tarballs are produced)
rdieter's patch fixes compilation errors.