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

How does the gocv project run on someone else's computer #1177

Open
a810752855 opened this issue Jun 21, 2024 · 10 comments
Open

How does the gocv project run on someone else's computer #1177

a810752855 opened this issue Jun 21, 2024 · 10 comments

Comments

@a810752855
Copy link

Hello! I have a question to ask you, that is, how can my locally compiled gocv project run on other people's computers? How can it be implemented without repeated installation of opencv environment?

@ykf87
Copy link

ykf87 commented Jul 19, 2024

I have the same question about how to configure the files extracted from the windows.exe file using the opencv prebuilt file to be used!

@cplasfwst
Copy link

我也是同样的问题,请求作者解答!!

@shixiawuheng
Copy link

Running on Windows is very simple. Place the compiled DLLs from the OpenCV library in your running directory

@dosgo
Copy link

dosgo commented Oct 9, 2024

I think the usability under Windows still needs to be improved. It would be better to provide a precompiled dll so that no local compilation is required.

@deadprogram
Copy link
Member

I have been doing quite a bit of work on getting static builds working well for Linux and Windows.

macOS does not generally like static linking to OS so that one is trickier. But the latest dev branch already has commits merged to help with this.

@dosgo
Copy link

dosgo commented Oct 9, 2024

Thanks for your work, but it is not easy to use under Windows at present. It seems that the path of opencv is also fixed and can only be hard-coded. If you can specify the directory and then compile and package it yourself, it will be more convenient to use.

@dosgo
Copy link

dosgo commented Oct 9, 2024

Running on Windows is very simple. Place the compiled DLLs from the OpenCV library in your running directory

So as long as there is opencv_videoio_ffmpeg4100_64.dll in the program directory, gocv can be used directly?

@shixiawuheng
Copy link

Running on Windows is very simple. Place the compiled DLLs from the OpenCV library in your running directory

So as long as there is opencv_videoio_ffmpeg4100_64.dll in the program directory, gocv can be used directly?

I put all the DLLs into the running directory and then run the software. The ones that are occupied and cannot be deleted are the ones that are needed

@shixiawuheng
Copy link

However, I am currently using static compilation in the Windows environment and have not yet overcome it in the Linux environment

@deadprogram
Copy link
Member

Check out the latest commits to the dev branch. We should probably have a release soon...

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

6 participants