Ask Your Question

Reinaldow's profile - activity

2017-07-03 22:04:00 -0600 received badge  Taxonomist
2012-12-11 11:45:36 -0600 received badge  Self-Learner (source)
2012-07-18 08:52:23 -0600 received badge  Famous Question (source)
2012-07-11 02:51:24 -0600 received badge  Student (source)
2012-07-09 11:01:00 -0600 received badge  Notable Question (source)
2012-07-09 08:48:41 -0600 answered a question Problem in instalation with vs2010 Windows 7 X64

Thanks for answer, but I matched with the opencv x64 library.

C:\OpenCV\build\x64\vc10\lib

In debug mode, I put in 64bit version.

In Additional the dependencies I put this libs: c:\OpenCV\build\x64\vc10\lib\opencvcore242d.lib c:\OpenCV\build\x64\vc10\lib\opencvhighgui242d.lib c:\OpenCV\build\x64\vc10\lib\opencvvideo242d.lib c:\OpenCV\build\x64\vc10\lib\opencvml242d.lib c:\OpenCV\build\x64\vc10\lib\opencvlegacy242d.lib c:\OpenCV\build\x64\vc10\lib\opencvimgproc242d.lib

This is my code:

#include "stdafx.h"
#include <cv.h>
#include <cxcore.h>
#include <highgui.h>

 int _tmain(int argc, _TCHAR* argv[])
    {
      // Open the file.
       IplImage *img = cvLoadImage("photo.jpg");
       if (!img) {
            printf("Error: Couldn't open the image file.\n");
            return 1;
    }

    // Display the image.
    cvNamedWindow("Image:", CV_WINDOW_AUTOSIZE);
    cvShowImage("Image:", img);

    // Wait for the user to press a key in the GUI window.
    cvWaitKey(0);

    // Free the resources.
    cvDestroyWindow("Image:");
    cvReleaseImage(&img);

    return 0;

}

2012-07-09 04:52:40 -0600 received badge  Popular Question (source)
2012-07-08 17:52:54 -0600 asked a question Problem in instalation with vs2010 Windows 7 X64

Hello Guys! Sorry about my dumb question, but I tried to find in internet solution for my problem, but I have no sucess. I install the OpenCV 2.4.2 and when I will type my program thats ok. The problem is when I will compile, the windows show me the follow error:

"The application was unable to start correctly (0x0000013). Click OK to close the application."

I tried everthing, I dont know what to do.

Somebody can I help me?

Tks in advance.