Couldn't Compile OpenCV with WITH_CUDA=ON

I don’t think you want cuda to build opencv. You want to use it later, but the make file doesn’t have anything that wants cuda.