1 | initial version |
Hi. I had the same issue while I was trying to compile an OpenCV 4.1.0 example. As commented here, there is no more "opencv2/gpu.h" neither "opencv2/gpumat.h" headers. I solved it by replacing every "gpu" namespace in my code for the "cuda" namespace. Also, I included the "opencv2/core/cuda.hpp" and "opencv2/cudaarithm.h" headers.