I am a beginner learning OpenCV. I have the latest version (2.4.7.2 as of Dec, 2013) and am trying a simple code to load image. The code is OK, but when I compiled and then run the source code, it says that "the program can't start because opencv_core247d.dll is missing."
I already tried changing the computer's environment and making all the corresponding path setting for my solution according to several suggestions. I tried rebooting the PC, adding the "missing file" to my source code's Debug file, tried getting around with CMake (fortunately though it failed to generate anything and I guess that goes for my next question); the problem persists.
So, is there any fool-proof and simple way of dealing with this problem? Thank you. Btw, here is my little source code:
# include "highgui.h"
int main (int argc, char** argv)
{
IplImage* img = cvLoadImage("D:\\OpenCV Test\\LoadImage\\fruits.jpg") ;
cvNamedWindow("Fuits", CV_WINDOW_AUTOSIZE) ;
cvShowImage("Fuits", img) ;
cvWaitKey(0) ;
cvDestroyWindow("Fruits") ;
cvReleaseImage (&img) ;
}