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

Unable to install from source #34

Closed
ritiek opened this issue May 29, 2018 · 3 comments
Closed

Unable to install from source #34

ritiek opened this issue May 29, 2018 · 3 comments

Comments

@ritiek
Copy link

ritiek commented May 29, 2018

Hi, I get the same error every time I try to $ go get:

$ export GOPATH="$HOME/go"
$ export PATH="$PATH:$GOPATH/bin"
$ go get -u -f github.com/esimov/caire/cmd/caire
# gocv.io/x/gocv
core.cpp: In function ‘cv::Mat* Mat_ConvertFp16(Mat)’:
core.cpp:80:5: error: ‘convertFp16’ is not a member of ‘cv’
     cv::convertFp16(*m, *dst);
     ^
core.cpp: In function ‘void Mat_EigenNonSymmetric(Mat, Mat, Mat)’:
core.cpp:344:5: error: ‘eigenNonSymmetric’ is not a member of ‘cv’
     cv::eigenNonSymmetric(*src, *eigenvalues, *eigenvectors);
     ^
core.cpp: In function ‘void Rotate(Mat, Mat, int)’:
core.cpp:380:5: error: ‘rotate’ is not a member of ‘cv’
     cv::rotate(*src, *dst, rotateCode);
     ^
core.cpp:380:5: note: suggested alternatives:
In file included from /usr/include/c++/5/algorithm:62:0,
                 from /usr/include/opencv2/core/core.hpp:56,
                 from /usr/include/opencv2/opencv.hpp:47,
                 from core.h:24,
                 from core.cpp:1:
/usr/include/c++/5/bits/stl_algo.h:1431:5: note:   ‘std::_V2::rotate’
     rotate(_ForwardIterator __first, _ForwardIterator __middle,
     ^
/usr/include/c++/5/bits/stl_algo.h:1431:5: note:   ‘std::_V2::rotate’

Could someone explain what am I doing wrong?

@esimov
Copy link
Owner

esimov commented May 29, 2018

You need have installed OpenCV3 in order to use the face detection feature. However i short time i will replace with my own face detection library.

@ritiek
Copy link
Author

ritiek commented May 29, 2018

Thanks for the quick reply! I'll try again with OpenCV3 and let you know how it goes.

@ritiek
Copy link
Author

ritiek commented May 29, 2018

Geez, now I get this:

# gocv.io/x/gocv
imgproc.cpp: In function ‘void Rectangle(Mat, Rect, Scalar, int)’:
imgproc.cpp:262:9: error: ‘CV_AA’ was not declared in this scope
         CV_AA
         ^

Maybe it has something to do with my OpenCV version. I compiled it on the latest commit
opencv/opencv@0f298a4 but anyway I'll be patient until you replace it with your face detection. :D

@ritiek ritiek closed this as completed May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants