Error compiling openCV 2.4.9 with CUDA 6.5
I am running ubuntu 14.04 system with CUDA 6.5 installed. I am trying to use the gpu implementation of the function matching of the OpenCV library and the version of the openCV library is 2.4.9. cmake .. ok but when i want to make a project it gives me errors like:
> /usr/local/include/opencv2/gpu/gpu.hpp:432:29: error: ‘vector’ does > not name a type CV_EXPORTS void merge(const vector<GpuMat>& src, > GpuMat& dst, Stream& stream = Stream::Null()); > ^ /usr/local/include/opencv2/gpu/gpu.hpp:432:35: error: expected ‘,’ or > ‘...’ before ‘<’ token CV_EXPORTS void merge(const vector<GpuMat>& > src, GpuMat& dst, Stream& stream = Stream::Null());
Could you help me with this? Thank...
source to share