Ask Your Question

jnovacho's profile - activity

2014-09-28 02:07:15 -0500 received badge  Famous Question (source)
2014-06-28 11:09:09 -0500 commented answer Best way to store a Mat object in Android

This code works only for CV_8U a CV_8S matrices.

2013-09-02 10:06:06 -0500 received badge  Notable Question (source)
2013-07-18 14:48:55 -0500 received badge  Student (source)
2013-06-02 00:43:41 -0500 received badge  Popular Question (source)
2012-11-05 15:54:44 -0500 received badge  Supporter (source)
2012-11-04 05:04:36 -0500 asked a question OpenCV 2.4.3 MinGW cannot run program

I have downloaded the most recent OpenCV pack. After instalation I have created simple program:

#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"

using namespace cv;

int main(int argc, char **argv)
{
    Mat img = imread("c:\\plane.jpg");
    imshow("win", img);
    waitKey(0);
    return 0;
}

Program compiles fine, but when I try to run it, I get SIGSEGV. I'm using MinGW 4.7.0 on Win7 64bit, but the software is 32bit, no problem there. Before I was using 2.3.1 with MingGW 4.6.1 and everything was fine. So I've rolled back to MinGW 4.6.1 compile is again all right. But when I tried to run the program, I got following error:

Cannot find entry point of procedure __gxx_personality_v0 in dynamically linked library libstdc++-6.dll

So it's clear to me, that I have to use newer version of MinGW. Does anyone know which MinGW was used to create prebuild libraries?

Here are logs from GDB and Dependency Walker Profiler: http://pastebin.com/b4LHhixe Is clearly visible, that libstdc++-6.dll is causing the error.