Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in installing gerbil #37

Open
dk-15 opened this issue Jun 1, 2018 · 1 comment
Open

Error in installing gerbil #37

dk-15 opened this issue Jun 1, 2018 · 1 comment

Comments

@dk-15
Copy link

@dk-15 dk-15 commented Jun 1, 2018

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

@ypnos

This comment has been minimized.

Copy link
Member

@ypnos ypnos commented Jun 1, 2018

What is your OpenCV version? I cannot reproduce this problem with version 3.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.