Configuring Opencv2.4.6 in Eclipse

asked 2013-10-05 17:12:47 -0500

mcprakash gravatar image

Hi guys I am trying to run OpenCv 2.4.6 in Eclipse in Linux. I have added the lib and include directories as is mentioned in However I am getting an error in undefined semantic IplImage. My src code is as follows :

include <stdio.h>

include <cv.h>

include <cxcore.h>

include <highgui.h>

int main()


IplImage* img= cvLoadImage(1,1);

cvNamedWindow("Hello World",1);

cvShowImage("Hello World",img);



return 0;


Please help me out if possible at the earliest.


edit retag flag offensive close merge delete