You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build and run the test script in the README, but it seems that gocv is now updated to OpenCV 4.0.0. I tried rerunning the build scripts after changing the image names to have ...4.0.0 and changing the OPEN_CV_VERSION to 4.0.0 and rebuilding all images from scratch but neither worked.
When running the ...:test script, I end up getting the following docker output:
Sending build context to Docker daemon 2.048kB
Step 1/7 : FROM denismakogon/gocv-alpine:3.4.2-buildstage as build-stage
---> 8d9938523d3a
Step 2/7 : ENV PKG_CONFIG_PATH /usr/local/lib64/pkgconfig
---> Using cache
---> 5fd2af774c48
Step 3/7 : RUN go get -u -d gocv.io/x/gocv
---> Using cache
---> 0ec91f5a202f
Step 4/7 : RUN cd $GOPATH/src/gocv.io/x/gocv && go build -o $GOPATH/bin/gocv-version ./cmd/version/main.go
---> Running in 97ee030f03e3
# pkg-config --cflags -- opencv4
Package opencv4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'opencv4', required by 'virtual:world', not found
pkg-config: exit status 1
The command '/bin/sh -c cd $GOPATH/src/gocv.io/x/gocv && go build -o $GOPATH/bin/gocv-version ./cmd/version/main.go' returned a non-zero code: 2
with
# pkg-config --cflags -- opencv4
Package opencv4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'opencv4', required by 'virtual:world', not found
pkg-config: exit status 1
as the error code in red. Do you have any insight into updating this to OpenCV 4?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for the neat library!
I am trying to build and run the test script in the README, but it seems that gocv is now updated to OpenCV 4.0.0. I tried rerunning the build scripts after changing the image names to have
...4.0.0
and changing theOPEN_CV_VERSION
to4.0.0
and rebuilding all images from scratch but neither worked.When running the
...:test
script, I end up getting the following docker output:with
as the error code in red. Do you have any insight into updating this to OpenCV 4?
Thanks!
The text was updated successfully, but these errors were encountered: