Sunday, May 23, 2010

opencv eclipse eclipse-cpp-europa-winter-win32





http://tommy.chheng.com/index.php/2009/05/opencv-with-eclipse-on-windows/

http://opencv-users.1802565.n2.nabble.com/Problem-using-opencv2-0-td4107832.html
Don't really know exactly by your error seems to be similar to what is
described here: ( http://opencv.willowgarage.com/wiki/InstallGuide )


Building on Windows using MinGW 3.4.5

*

If you get compile errors to do with __exchange_and_add it is due
to the wrong definition of CV_XADD. It can be fixed by:
1.

Open cxoperations.hpp (found in dir>\include\opencv)
2. Find this section (lines 67-68 in 2.0):

#else
#include
#if __GNUC__ >= 4

3.

And update it to reference a new definition, __MINGW32__
(defined by the MinGW compiler, see
http://predef.sourceforge.net/precomp.html#sec31):

#else
#include
#if __GNUC__ >= 4 || __MINGW32__

No comments: