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

M1 weird error reporting. #1130

Open
Vany opened this issue Dec 1, 2023 · 0 comments
Open

M1 weird error reporting. #1130

Vany opened this issue Dec 1, 2023 · 0 comments

Comments

@Vany
Copy link

Vany commented Dec 1, 2023

eye$opencv_version
4.8.1

eye$which opencv_version
/opt/homebrew/bin/opencv_version

eye$cat go.sum | grep gocv
gocv.io/x/gocv v0.35.0 h1:Qaxb5KdVyy8Spl4S4K0SMZ6CVmKtbfoSGQAxRD3FZlw=
gocv.io/x/gocv v0.35.0/go.mod h1:oc6FvfYqfBp99p+yOEzs9tbYF9gOrAQSeL/dyIPefJU=

eye$go version
go version go1.21.4 darwin/arm64
eye$go run TST/main.go 
# command-line-arguments
ld: warning: search path '/opt/homebrew/opt/lib' not found
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('../dr.png'): can't open/read file: check file path/integrity
[ WARN:[email protected]] global loadsave.cpp:248 findDecoder imread_('../pic.png'): can't open/read file: check file path/integrity
libc++abi: terminating due to uncaught exception of type cv::Exception: OpenCV(4.8.1) /tmp/opencv-20231130-25931-dw9qjg/opencv-4.8.1/modules/imgproc/src/templmatch.cpp:588: error: (-215:Assertion failed) corr.rows <= img.rows + templ.rows - 1 && corr.cols <= img.cols + templ.cols - 1 in function 'crossCorr'

SIGABRT: abort
PC=0x183fa111c m=0 sigcode=0
signal arrived during cgo execution
....
....
exit status 2

@Vany Vany changed the title M1 linker failed. M1 weird error reporting. Dec 1, 2023
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

1 participant