-
Notifications
You must be signed in to change notification settings - Fork 866
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
Missing Aruco with 4.10.0 and gocv 0.37 #1187
Comments
4.8.0 and 4.8.1 works for docker. looks like anything above 4.9.0 breaks. especially the static images. |
Please note that I am disabling everything except for the most basic imgproc and core and imgcodec. but looks like it's still trying to include aruco, i even tried to add the build flag for aruco.go and aruco_dictionary.go, no luck, maybe I miss something. Unless I have to include the aruco/dnn features? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would appreciate some help if anyone knows whats going on, thank ya'll very much!
Simple script:
Running the following command:
Now If I provide -tags customEnv, it would generate the following error:
Setting
CGO_CPPFLAGS="-I/usr/local/include/opencv4"
would trigger the first error again regarding aruco errors.FYI
I also ran the same code using the prebuilt docker image for gocv/opencv:4.9.0 and the latest gocv/opencv:4.10.0, both static and non-static versions of the image. None of them run.
Also tried to downgrade gocv to 0.36 and opencv 4.9.0, no luck, same issue.
Your Environment
Statically build opencv 4.10.0
wget -qO- https://github.com/opencv/opencv/archive/refs/tags/4.10.0.tar.gz | tar xz
wget -qO- https://github.com/opencv/opencv_contrib/archive/refs/tags/4.10.0.tar.gz | tar xz
The text was updated successfully, but these errors were encountered: