Hi *,
I compiled the latest source-code of libkface (updated with git) with the latest source-code of opencv (updated with git) and got the error below. Basically it says that 'CV_LOAD_IMAGE_GRAYSCALE' is not defined in this 'scope' or 'range' of validity. Compiling it with the version 2.4.4 of opencv does not show this error. It finished successfully. Is it correct to sending this report to this mailing-list? Best regards Axel --snip [ 93%] Building CXX object test/CMakeFiles/preprocess.dir/preprocess.o cd /home/axel/bin/git_workspace/libkface/libkface/test && /usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=37 -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 -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 -g -DNDEBUG -DQT_NO_DEBUG -I/home/axel/bin/git_workspace/libkface/libkface/test -I/home/axel/bin/git_workspace/libkface/libkface/test/../libkface -I/home/axel/bin/git_workspace/libkface/libkface/test/.. -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/local/include/opencv -I/usr/local/include -fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/preprocess.dir/preprocess.o -c /home/axel/bin/git_workspace/libkface/libkface/test/preprocess.cpp /home/axel/bin/git_workspace/libkface/libkface/test/preprocess.cpp: In Funktion »QList<cv::Mat> toImages(const QStringList&)«: /home/axel/bin/git_workspace/libkface/libkface/test/preprocess.cpp:67:46: Fehler: »CV_LOAD_IMAGE_GRAYSCALE« wurde in diesem Gültigkeitsbereich nicht definiert make[2]: *** [test/CMakeFiles/preprocess.dir/preprocess.o] Fehler 1 make[2]: Verlasse Verzeichnis '/home/axel/bin/git_workspace/libkface/libkface' make[1]: *** [test/CMakeFiles/preprocess.dir/all] Fehler 2 make[1]: Verlasse Verzeichnis '/home/axel/bin/git_workspace/libkface/libkface' make: *** [all] Fehler 2 axel@famkleindesktop:~/bin/git_workspace/libkface/libkface$ --snip _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users smime.p7s (3K) Download Attachment |
Strange. Here i compiled with 2.4.3 under Linux, and 2.4.5 under OSX
without any problem. Gilles Caulier 2013/6/22 Axel Klein <[hidden email]>: > Hi *, > > I compiled the latest source-code of libkface (updated with git) with the > latest source-code of opencv (updated with git) and got the error below. > Basically it says that 'CV_LOAD_IMAGE_GRAYSCALE' is not defined in this > 'scope' or 'range' of validity. > Compiling it with the version 2.4.4 of opencv does not show this error. It > finished successfully. > > Is it correct to sending this report to this mailing-list? > > Best regards > Axel > > > --snip > [ 93%] Building CXX object test/CMakeFiles/preprocess.dir/preprocess.o > cd /home/axel/bin/git_workspace/libkface/libkface/test && /usr/bin/c++ > -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=37 -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 -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 -g -DNDEBUG > -DQT_NO_DEBUG -I/home/axel/bin/git_workspace/libkface/libkface/test > -I/home/axel/bin/git_workspace/libkface/libkface/test/../libkface > -I/home/axel/bin/git_workspace/libkface/libkface/test/.. -I/usr/include/KDE > -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns > -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit > -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest > -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql > -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript > -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork > -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner > -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus > -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt > -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 > -I/usr/local/include/opencv -I/usr/local/include -fexceptions > -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -D_GNU_SOURCE > -D_LARGEFILE64_SOURCE -o CMakeFiles/preprocess.dir/preprocess.o -c > /home/axel/bin/git_workspace/libkface/libkface/test/preprocess.cpp > /home/axel/bin/git_workspace/libkface/libkface/test/preprocess.cpp: In > Funktion »QList<cv::Mat> toImages(const QStringList&)«: > /home/axel/bin/git_workspace/libkface/libkface/test/preprocess.cpp:67:46: > Fehler: »CV_LOAD_IMAGE_GRAYSCALE« wurde in diesem Gültigkeitsbereich nicht > definiert > make[2]: *** [test/CMakeFiles/preprocess.dir/preprocess.o] Fehler 1 > make[2]: Verlasse Verzeichnis > '/home/axel/bin/git_workspace/libkface/libkface' > make[1]: *** [test/CMakeFiles/preprocess.dir/all] Fehler 2 > make[1]: Verlasse Verzeichnis > '/home/axel/bin/git_workspace/libkface/libkface' > make: *** [all] Fehler 2 > axel@famkleindesktop:~/bin/git_workspace/libkface/libkface$ > --snip > > > > > > _______________________________________________ > 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 |
Free forum by Nabble | Edit this page |