Build error OpenCV on Eclipse in Windows-Collection of common programming errors
i am new in OpenCV and i am trying to setup OpenCV in eclipse in Windows 7.
I have fallowed this tutorial and also i have set my path environment to openCv/bin directory but i still get an errors and cannot compile my project.
Here is my code and log ;
#include "opencv/cv.h"
#include "opencv/cxcore.h"
#include "opencv/ml.h"
#include "opencv/highgui.h"
using namespace std;
int main() {
//new typename ImageIO::ImageIO;
IplImage* img = cvLoadImage("Resources/imageDatabase/0000.jpg");
cvNamedWindow( "1.Original Image", 1 ) ;
cvShowImage( "1.Original Image", img );
ERRORS;
D:\Cagri\Job Information\Project\C++\ImageProcessingTool\Debug/../src/ImageProcessingTool.cpp:34: undefined reference to `cvLoadImage'
D:\Cagri\Job Information\Project\C++\ImageProcessingTool\Debug/../src/ImageProcessingTool.cpp:35: undefined reference to `cvNamedWindow'
D:\Cagri\Job Information\Project\C++\ImageProcessingTool\Debug/../src/ImageProcessingTool.cpp:36: undefined reference to `cvShowImage'
Please help me to solve this.
Originally posted 2013-11-06 03:07:51.