-
Notifications
You must be signed in to change notification settings - Fork 16
Description
While installing i am facing the following error
[ 1%] Building CXX object gerbil/core/CMakeFiles/core-lib.dir/multi_img/multi_img.cpp.o
/media/dkoder/study/deep_learning_practice/hyperspectral imaging/final year project/gerbil/core/multi_img/multi_img.cpp: In member function ‘cv::PCA multi_img::pca(unsigned int) const’:
/media/dkoder/study/deep_learning_practice/hyperspectral imaging/final year project/gerbil/core/multi_img/multi_img.cpp:392:36: error: ‘CV_PCA_DATA_AS_COL’ was not declared in this scope
cv::PCA ret(input, cv::noArray(), CV_PCA_DATA_AS_COL, (int)components);
^~~~~~~~~~~~~~~~~~
/media/dkoder/study/deep_learning_practice/hyperspectral imaging/final year project/gerbil/core/multi_img/multi_img.cpp:392:36: note: suggested alternative: ‘CV_HAL_DFT_SCALE’
cv::PCA ret(input, cv::noArray(), CV_PCA_DATA_AS_COL, (int)components);
^~~~~~~~~~~~~~~~~~
CV_HAL_DFT_SCALE
gerbil/core/CMakeFiles/core-lib.dir/build.make:142: recipe for target 'gerbil/core/CMakeFiles/core-lib.dir/multi_img/multi_img.cpp.o' failed
make[2]: *** [gerbil/core/CMakeFiles/core-lib.dir/multi_img/multi_img.cpp.o] Error 1
CMakeFiles/Makefile2:263: recipe for target 'gerbil/core/CMakeFiles/core-lib.dir/all' failed
make[1]: *** [gerbil/core/CMakeFiles/core-lib.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Thanks