gocv icon indicating copy to clipboard operation
gocv copied to clipboard

Failed Quick Install

Open gmonk opened this issue 2 years ago • 2 comments

Attempting to install gocv and run code that currently runs on my laptop (PopOs). I am using the quick install method which completes and I do get the following at the end gocv version: 0.29.0 opencv lib version: 4.5.3

how ever when i attempt to run my program i get this error

./GoVision: error while loading shared libraries: libopencv_highgui.so.405: cannot open shared object file: No such file or directory

  • Operating System and version:Debian 11 bullseye
  • OpenCV version used: 4.5.3
  • How did you install OpenCV? Using Quick Install provided in Getting Started
  • GoCV version used:0.29.0
  • Go version: 1.17.7

gmonk avatar Feb 11 '22 02:02 gmonk

I got same issue:

error while loading shared libraries: libopencv_stitching.so.405: cannot open shared object file: No such file or directory

And i find all so file named 4.5 not 405

libopencv_stitching.so
libopencv_stitching.so.4.5
libopencv_stitching.so.4.5.3

Any solution ?

xiaogan18 avatar Mar 27 '22 03:03 xiaogan18

OpenCV 4.5.3 requires GoCV 0.28.0

You can also use the tag opencv-4.5.3 to fetch that exact version.

deadprogram avatar Mar 28 '22 14:03 deadprogram