V
V
vvafree2017-10-02 17:46:29
Programming
vvafree, 2017-10-02 17:46:29

When compiling VC++, Opencv 3.2 project does not run exe on another system, it requires opencv_world330.dll, what should I do?

Good afternoon.
When compiling the program, everything works well, I have everything set up in VS 2017.
When transferring a folder to another machine, it requires opencv_world330.dll. When copying directly to the exe folder, the error disappears, but the program crashes. How to make it automatically copy it to the root folder during compilation (or I will manually copy it) and understand that it is in the root with exe.
When debugging or running on a native machine, everything works.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mercury13, 2017-10-02
@vvafree

The crash is probably related to another thing. The compiler is brand new, and they didn’t have time to bring its execution environment to that machine. Find out which files you need: MSVCR140.DLL, MSVCP140.DLL or MFC140U.DLL.
(assuming that OpenCV itself is also compiled with C++2017; if not, the files of another compiler are also needed.)
If you still can't find it, find the Dependency Walker program and find exactly what it is missing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question