title: opencv_world341d.dll was not found error
body: <p>I am trying to run OpenCV on Visual Studios 2017. I built the libraries and bin with CMake, so far it is working good. However, when I try to run the code it says this:</p>
  
  <p>This is the error code message that shows when I launch the "local windows debugger":
  <img src="https://i.stack.imgur.com/3iGL9.png" alt="This is the error code message that shows when I launch the &quot;local windows debugger&quot;"></p>
  
  <p>For some reason, it says that it can't find the DLL. I already assign the Aditional Dependencies in properties also I linked the "Included Directories" and "Included Libraries" to openCV in Visual Studios, the project is set to run in x64, and there are no errors on the programming it's just that error of DLL that shows.</p>
  
  <p>The DLL can be found in a separate folder made by the compiler in a bin folder. However, it still says it can't be found.</p>
  
  <p>This is the locations of the DLL files:
  <img src="https://i.stack.imgur.com/eiHFG.png" alt="This is the locations of the DLL files"></p>
  
  <p>Is there a solution for this?</p>
  
  <p>I tried to add pictures I'm new in the forum it doesn't let me post them yet. I am not sure if the ones I upload will show.</p>
  
  <p>This is the code I tried to run and bring the error message. The same happen with any other code.</p>
  
  <p>I will add more images that may help to understand what I did so far and thanks in advance for the help.</p>
  
  <p>This are the Visual Studios C/C++ Directories:
  <img src="https://i.stack.imgur.com/18zGn.png" alt="This are the Visual Studios C/C++ Directories"></p>
  
  <p>This is the Linked section in Visual Studios properties:
  <img src="https://i.stack.imgur.com/fgSdd.png" alt="This is the Linked section in Visual Studios properties"></p>
  
  <p>This is the environment PATH from Environment Variables:
  <img src="https://i.stack.imgur.com/srbaH.png" alt="This is the environment PATH from Environment Variables"></p>
  
  <p>This is all I did so far in the process to install OpenCV in Visual Studios.</p>
  
  <pre><code>#include "stdafx.h"
  #include &lt;iostream&gt;
  #include &lt;opencv2/core.hpp&gt;
  #include &lt;opencv2/highgui.hpp&gt;
  
  int main() {
      cv::Mat image;
      std::cout &lt;&lt; "This image is" &lt;&lt; image.rows &lt;&lt; "X" &lt;&lt; image.cols &lt;&lt; std::endl;
  
      image = cv::imread("puppy.bmp");
  
      if (image.empty()) {
  
      }
  
      cv::Mat result;
      cv::flip(image, result, 1);
  
      cv::waitKey(0);
  
      return 0;
  }
  </code></pre>