I have followed this tutorial for setting up Eclipse and OpenCV: http://carrierfrequency.blogspot.com/2011/05/opencv-22-in-windows-using-eclipse-ide.html, and doing it with OpenCV 2.3.

But, I'm always getting the error: Type 'IplImage' could not be resolved for IplImage* img = 0;

Why is that?


Since you also posted the same question on the tutorial site you referenced above, and the author has responded, there's probably little reason to keep this thread open. Please mark it as "solved" when that's the case, and feel free to let us know what the solution was!