No rule to make target 'C:/opencv/build/lib/libopencv_world300d.dll.a', needed by 'opencv.exe'. Stop
问题 So I'm trying to build a simple opencv code but I keep getting this error and I don't seem to find any solution in the internet: os: Windows 8.1 compiler GNU GCC 601 IDE: CLion CMake 3.0 and mingw64 This is the code which I got from the opencv tutorial page #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