gpu_flow icon indicating copy to clipboard operation
gpu_flow copied to clipboard

/usr/include/opencv2/gpu/gpu.hpp:432:29: error: ‘vector’ does not name a type

Open lianzhaoy opened this issue 6 years ago • 1 comments

I faced a problem while compiling compute_flow.cpp,As follows: “/usr/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/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()); ^ /usr/include/opencv2/gpu/gpu.hpp:438:42: error: ‘vector’ has not been declared CV_EXPORTS void split(const GpuMat& src, vector<GpuMat>& dst, Stream& stream = Stream::Null()); ^ /usr/include/opencv2/gpu/gpu.hpp:438:48: error: expected ‘,’ or ‘...’ before ‘<’ token CV_EXPORTS void split(const GpuMat& src, vector<GpuMat>& dst, Stream& stream = Stream::Null());” The opencv version shown in cmake is 3.2.0.I don't know how to solve the above problem.

lianzhaoy avatar Nov 07 '19 09:11 lianzhaoy

same problem

tian231825 avatar Feb 15 '22 04:02 tian231825