Open arkjxu opened 1 month ago
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?
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