I am not able to build my opencv project in eclipse

asked 2013-02-05 07:32:59 -0500

I am using Windows 7... I have OpenCv 2.4.3 I have also installed MinGW and use it as toolchain. I have added following path in my include directory 1-D:\Project\OpenCV\opencv\build\include\opencv 2-D:\Project\OpenCV\opencv\build\include I have added this library search path 1-D:\Project\OpenCV\opencv\build\x64\mingw\lib I have also added libraries for example 1-opencv_highgui243(the file names are like D:\Project\OpenCV\opencv\build\x64\mingw\lib\libopencv_highgui243.dll )

I have also added the include files paths in path and symbols folder yet while building i get following error

D:\Project\workspace\DisplayImage\Debug/../src/DisplayImage.cpp:17: undefined reference to cvNamedWindow' D:\Project\workspace\DisplayImage\Debug/../src/DisplayImage.cpp:19: undefined reference tocvCreateCameraCapture' D:\Project\workspace\DisplayImage\Debug/../src/DisplayImage.cpp:24: undefined reference to cvQueryFrame' D:\Project\workspace\DisplayImage\Debug/../src/DisplayImage.cpp:28: undefined reference tocvShowImage' D:\Project\workspace\DisplayImage\Debug/../src/DisplayImage.cpp:29: undefined reference to cvWaitKey' D:\Project\workspace\DisplayImage\Debug/../src/DisplayImage.cpp:35: undefined reference tocvReleaseCapture' D:\Project\workspace\DisplayImage\Debug/../src/DisplayImage.cpp:36: undefined reference to `cvDestroyWindow'

edit retag flag offensive close merge delete