I get the following error when trying to build openCV. Any ideas? Cmake seemed to run successfully prior to issuing this make install command.


%make install
[ 0%] Building CXX object cxcore/CMakeFiles/cxcore.dir/cxalloc.o
In file included from /home/axi/OpenCV-2.1.0/include/opencv/cxcore.hpp:2308,
from /home/axi/OpenCV-2.1.0/include/opencv/cxcore.h:1826,
from /home/axi/OpenCV-2.1.0/src/cxcore/_cxcore.h:51,
from /home/axi/OpenCV-2.1.0/src/cxcore/cxalloc.cpp:43:
/home/axi/OpenCV-2.1.0/include/opencv/cxmat.hpp:559: declaration of `
template<class _Tp> template<class T2> cv::Mat_::operator cv::Mat_<T2>()
const'
/home/axi/OpenCV-2.1.0/include/opencv/cxcore.hpp:1285: conflicts with previous
declaration `template<class _Tp> template<class T2> cv::Mat_::operator
cv::Mat_<T2>() const'