We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error installing OpenCV
I had a problem installing OpenCV in Docker using the golang:1.21 image, some libs were not found:
Makefile line 21
DEBS=unzip wget build-essential cmake curl git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev
libtbb2
libdc1394-22-dev
libtbb2 and libdc1394-22-dev They were unable to be installed, so I replaced these packages and managed to successfully build OpenCV
I applied these changes to the OpenCV installation step in Docker.
# Install OpenCV RUN git clone https://github.com/hybridgroup/gocv.git && \ cd gocv && \ awk '{gsub(/libtbb2/, "libtbbmalloc2"); gsub(/libdc1394-22-dev/, "libdc1394-dev"); print}' Makefile > Makefile.tmp && \ mv Makefile.tmp Makefile && \ make install && \ cd .. && \ rm -rf gocv
env.sh
env.cmd
go run
go build
The text was updated successfully, but these errors were encountered:
Note that the dev branch has these changes applied.
dev
gocv/Makefile
Line 22 in 1ce30bf
Sorry, something went wrong.
No branches or pull requests
Error installing OpenCV
Description
I had a problem installing OpenCV in Docker using the golang:1.21 image, some libs were not found:
Makefile line 21
DEBS=unzip wget build-essential cmake curl git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
libtbb2
libtbb-dev libjpeg-dev libpng-dev libtiff-devlibdc1394-22-dev
libtbb2
andlibdc1394-22-dev
They were unable to be installed, so I replaced these packages and managed to successfully build OpenCVI applied these changes to the OpenCV installation step in Docker.
Steps to Reproduce
Your Environment
env.sh
orenv.cmd
script before trying togo run
orgo build
? NoThe text was updated successfully, but these errors were encountered: