Ask Your Question

Revision history [back]

New install opencv 2.43 + Microsoft VS express 2012

I'm really exciting about trying some structure from motion application of opencv, however it seems that I'm too new into programming to even make works the simpliest programm. I followed the installation instruction there.

#include "stdafx.h"
#include <opencv2/highgui/highgui.hpp>
#include <iostream>

using namespace cv;
using namespace std;

int main()
{
    Mat im = imread("c:/tracks.jpg");
    if (im.empty()) 
    {
        cout << "Cannot load image!" << endl;
        return -1;
    }
    imshow("Image", im);
    waitKey(0);
}

While running this program I get several errors as :

'First.exe' (Win32): Loaded 'C:\opencv\build\x64\vc10\bin\opencv_core243d.dll'. Cannot find or open the PDB file.

Or the program can't start because MSVCP100D.dll is missing from your computer.

I went to check and opencv_core243d.dll is at the right place, I followed carefully all the instruction relative to the 64bits systems but no it doesn't work. I checked several forum online but no one give me an appropriate answer, do you have any idea what is wrong?