0

I am trying to install OpenCV 3.2.0 and run CannyStill.cpp according to the following instructions.

I am using VS2013 plus Win7.

enter image description here

enter image description here

enter image description here

but the problem is not going away.

How can I solve the issue?

user366312
  • 16,949
  • 65
  • 235
  • 452

1 Answers1

2

The problem is that your OpenCV was compiled with another Visual Studio compiler (2015). With the redistributables you will get the release version of the dll, but not the debug one. The error is complaining about

MSVCP140D.dll

which is for debuging.

Possible solutions

  1. You can recompile OpenCV (why is not compiled with the same visual studio in the first place?) with VS2013 and use that one.

  2. Install VS2015 and use that one.

  3. Compile it and run it in release mode.

Choose whichever suits you :)

api55
  • 11,070
  • 4
  • 41
  • 57