Visual Studio opencv project build

Asked By: Anonymous

Is it possible to build opencv c++ application (for windows) without environment variable for opencv executables. I want my own executable to run on another machine without opencv installed.


Solution

Answered By: Anonymous

As far as I’m concerned you have two options:

1, It is possible using static linking, but usually OpenCV doesn’t distribute the compiled static libraries. You will have to compile your own .lib and link against those to create a standalone executable.

2, You could use Dependency Walker tool to find dlls your program depends on. Then find the dlls on your system, and copy them to your program distribution (to folder that contains executable file).

techinplanet staff

techinplanet staff


Windows 10 Kaufen Windows 10 Pro Office 2019 Kaufen Office 365 Lizenz Windows 10 Home Lizenz Office 2019 Home Business Kaufen windows office 365 satın al follower kaufen instagram follower kaufen porno