Skip to content

Error in installing gerbil #37

Description

@dk-15

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions