Skip to content
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

Installation on windows and debian is broken #1239

Open
craftdome opened this issue Oct 11, 2024 · 4 comments
Open

Installation on windows and debian is broken #1239

craftdome opened this issue Oct 11, 2024 · 4 comments

Comments

@craftdome
Copy link

Description

I went through tdm, mingw, msys2 for windows - it doesn't work, and the installation script needs to be edited. Wrong ways.
Just try to follow all the steps.

Similarly for debian 12, everything is installed step by step, but the gocv and opencv versions are not checked.

Ubuntu 24.02 does not have the necessary dependencies that are in the Makefile.

Steps to Reproduce

Just try to follow all the steps.

Your Environment

  • Operating System and version: Windows 11, Debian 12, Ubuntu 24.01
  • OpenCV version used: by Makefile
  • How did you install OpenCV? Many variants
  • GoCV version used: latest
  • Go version: 1.23
  • Did you run the env.sh or env.cmd script before trying to go run or go build?
This script is no longer necessary and has been deprecated.
See the Custom Environment section of the README if you need to customize your environment.
@Lobiritus
Copy link

I encountered a similar problem, it seems that the installation instructions are not correct and have not been updated for a long time

@bagasdisini
Copy link

exactly, they need to update the instructions

@Lobiritus
Copy link

exactly, they need to update the instructions

did you manage to launch GoCV? If so, can you please describe the steps you took and on which operating system?

@kevincua-umbocv
Copy link

kevincua-umbocv commented Nov 18, 2024

exactly, they need to update the instructions

did you manage to launch GoCV? If so, can you please describe the steps you took and on which operating system?

https://gocv.io/getting-started/linux/
this works for me on ubuntu 22.04

just change cd $GOPATH/src/gocv.io/x/gocv to /$GOPATH/pkg/mod/gocv.io/x/[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants