OpenCV 2.4.13 missing opencv_core2413d.dll in visual studio 2012
<p>I am starting to use opencv for my project but I experienced some issue when setting up it in vs 2012.</p>

<p>I download OpenCV 2.4.13. I go through a lot of tutorial but I got an error saying that </p>

<pre><code>The program can't start because opencv_core2413d.dll is missing from your computer. Try reinstalling the program to fix this problem
</code></pre>

<p>Here is all my steps to setup:</p>

<p>1) setup Windows environment variable, Path to "C:\opencv\build\x64\vc11\bin"</p>

<p>2) Open an empty project in vs 2012, change the configuration manager to 64 bit platform. </p>

<p>3) Then add "C:\opencv\build\include" and "C:\opencv\build\include\opencv" in VC++ Directories -> Include Directories</p>

<p>4) Add "C:\opencv\build\x64\vc11" in VC++ Directories -> Library Directories</p>

<p>5) Switch to C/C++ -> General -> additional include directories, add "C:\opencv\build\include"</p>

<p>6) Add "C:\opencv\build\x64\vc11\lib" to Linker -> General -> Additional Library Directories</p>

<p>7) Add the following to Link -> Input -> additional dependencies</p>

<pre><code>opencv_core2413d.lib
opencv_calib3d2413d.lib
opencv_contrib2413d.lib
opencv_features2d2413d.lib
opencv_highgui2413d.lib
opencv_imgproc2413d.lib
</code></pre>

<p>Here is my test main to use openCV</p>

<pre><code>#include &lt;opencv2/core/core.hpp&gt;
#include &lt;opencv2/highgui/highgui.hpp&gt;
#include &lt;iostream&gt;

using namespace cv;
using namespace std;

int main( int argc, char** argv ){ 
    Mat image;
    if( argc != 2){
        cout &lt;&lt;" Usage: display_image ImageToLoadAndDisplay" &lt;&lt; endl;
        image = imread("HappyMan's Girl.jpg", CV_LOAD_IMAGE_COLOR);
        // Read the file
    }
    else{
        image = imread(argv[1], CV_LOAD_IMAGE_COLOR);
    }

    if(! image.data ){// Check for invalid input
        cout &lt;&lt;  "Could not open or find the image" &lt;&lt; endl ;
        system("pause");
        return -1;
    }

    namedWindow( "HappyMan - Display window", CV_WINDOW_AUTOSIZE );
    // Create a window for display.
    imshow( "HappyMan - Display window", image );
    // Show our image inside it.

    waitKey(0);
    // Wait for a keystroke in the window
    return 0;
}
</code></pre>

<p>Can I get some help on this? </p>

<p>Thanks</p>

<hr>

<p>updated my system variables settings image:</p>

<p><a href="https://i.stack.imgur.com/yi1aB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yi1aB.png" alt="enter image description here"></a></p>