Ask Your Question

Kerb20134's profile - activity

2017-04-15 08:50:16 -0600 asked a question SSE2 - Not Available

Hello,

Today I install OpenCV. And I want to test it with the following code:

#include <stdio.h>
#include <opencv2/opencv.hpp>

using namespace cv;

int main(int argc, char** argv )
{
    if ( argc != 2 )
    {
        printf("usage: DisplayImage.out <Image_Path>\n");
        return -1;
    }

    Mat image;
    image = imread( argv[1], 1 );

    if ( !image.data )
    {
        printf("No image data \n");
        return -1;
    }
    namedWindow("Display Image", WINDOW_AUTOSIZE );
    imshow("Display Image", image);

    waitKey(0);

    return 0;
}

But if I start it with my ubuntu computer I get the following error:

FATAL ERROR:
This OpenCV build doesn't support current CPU/HW configuration
Use OPENCV_DUMP_CONFIG=1 environment variable for details

So I search via Google but I don't find anything. Please, can you help me? Where can I find the environment variables?

Thank you