Here is my build log:
[ 14%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o cd /home/Cineclick/opencv/build/modules/core && /usr/bin/c++.exe
-Dopencv_core_EXPORTS -DHAVE_CVCONFIG_H -DHAVE_QT -DHAVE_QT_OPENGL -DCVAPI_EXPORTS -W -Wall -Wformat -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -march=i686 -fomit-frame-pointer -msse -msse2 -msse3 -mfpmath=sse -ffunction-sections -O2 -DNDEBUG -DNDEBUG -I/home/Cineclick/opencv/modules/core/test -I/home/Cineclick/opencv/modules/features2d/include -I/home/Cineclick/opencv/modules/highgui/include -I/home/Cineclick/opencv/modules/flann/include -I/home/Cineclick/opencv/modules/imgproc/include -I/home/Cineclick/opencv/modules/core/include -I/home/Cineclick/opencv/modules/ts/include -I/home/Cineclick/opencv/build/modules/core -I/home/Cineclick/opencv/modules/core/src -I/home/Cineclick/opencv/modules/gpu/include -I/home/Cineclick/opencv/build -o CMakeFiles/opencv_core.dir/src/algorithm.cpp.o -c /home/Cineclick/opencv/modules/core/src/algorithm.cpp In file included from /home/Cineclick/opencv/modules/core/include/opencv2/core/core.hpp:4691, from /home/Cineclick/opencv/modules/core/src/precomp.hpp:50, from /home/Cineclick/opencv/modules/core/src/algorithm.cpp:43: /home/Cineclick/opencv/modules/core/include/opencv2/core/operations.hpp:4024: error: got 2 template parameters forvoid cv::AlgorithmInfo::addParam(cv::Algorithm&, const char*, cv::Ptr<T>&, bool, cv::Ptr<T> (cv::Algorithm::*)(), void (cv::Algorithm::*)(const cv::Ptr<T>&), const std::string&)' /home/Cineclick/opencv/modules/core/include/opencv2/core/operations.hpp:4024: error: but 1 required /home/Cineclick/opencv/modules/core/include/opencv2/core/operations.hpp:4033: error: redefinition of
void cv::AlgorithmInfo::addParam(cv::Algorithm&, const char, cv::Ptr<t>&, bool, cv::Ptr<t> (cv::Algorithm::)(), void (cv::Algorithm::)(const cv::Ptr<t>&), const std::string&)' /home/Cineclick/opencv/modules/core/include/opencv2/core/operations.hpp:4024: error:void cv::AlgorithmInfo::addParam(cv::Algorithm&, const char*, cv::Ptr<T>&, bool, cv::Ptr<T> (cv::Algorithm::*)(), void (cv::Algorithm::*)(const cv::Ptr<T>&), const std::string&)' previously declared here modules/core/CMakeFiles/opencv_core.dir/build.make:60: recipe for target
modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o' failed make[2]: [modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o] Error 1 make[2]: Leaving directory/home/Cineclick/opencv/build' CMakeFiles/Makefile2:724: recipe for target
modules/core/CMakeFiles/opencv_core.dir/all' failed make[1]: [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 make[1]: Leaving directory/home/Cineclick/opencv/build' Makefile:119: recipe for target
all' failed make: ** [all] Error 2
Any ideas how to get this working?