Process finished with exit code -1073741515 (0xC0000135) after trying to run sample code using OpenCV library
问题 I've been trying to run OpenCV using CLion IDE under Windows . When I try to run this sample code for loading and displaying an image #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <iostream> using namespace cv; using namespace std; int main( int argc, char** argv ) { if( argc != 2) { cout <<" Usage: display_image ImageToLoadAndDisplay" << endl; return -1; } Mat image; image = imread("earth.jpg", CV_LOAD_IMAGE_COLOR); // Read the file if(! image.data ) //