Hello,
Today I install OpenCV. And I want to test it with the following code:
#include
#include
using namespace cv;
int main(int argc, char** argv )
{
if ( argc != 2 )
{
printf("usage: DisplayImage.out \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
↧