Errors trying to build opencv4.2 on ubuntu20.04

Goal: I want to use OpenCV4.2 from C++ with Ros Noetic on Ubuntu 20.04.

Problem: After installing from repository, OpenCV camera input hangs due to a gstreamer issue. Apparently I need to build from source. I used this well written guide as the basis of my install, but it fails giving the following errors:

-- The imported target "vtkParseOGLExt" references the file
   "/usr/bin/vtkParseOGLExt-7.1"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtkRenderingPythonTkWidgets" references the file
   "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtk" references the file
   "/usr/bin/vtk"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- The imported target "pvtk" references the file
   "/usr/bin/pvtk"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.

-- Found VTK 7.1.1 (/usr/lib/cmake/vtk-7.1/UseVTK.cmake)

My cmake invocation was:

cmake -D CMAKE_BUILD_TYPE=RELEASE \
	  -D CMAKE_C_COMPILER=/usr/bin/gcc-8 \
    -D CMAKE_INSTALL_PREFIX=/usr/local \
    -D INSTALL_PYTHON_EXAMPLES=OFF \
    -D INSTALL_C_EXAMPLES=OFF \
    -D WITH_TBB=ON \
    -D WITH_CUDA=ON \
    -D BUILD_opencv_cudacodec=OFF \
    -D ENABLE_FAST_MATH=1 \
    -D CUDA_FAST_MATH=1 \
    -D WITH_CUBLAS=1 \
    -D WITH_V4L=ON \
    -D WITH_QT=OFF \
    -D WITH_OPENGL=ON \
    -D WITH_GSTREAMER=ON \
    -D OPENCV_GENERATE_PKGCONFIG=ON \
    -D OPENCV_PC_FILE_NAME=opencv.pc \
    -D OPENCV_ENABLE_NONFREE=ON \
    -D BUILD_EXAMPLES=ON \
    -D WITH_CUDNN=ON \
    -D OPENCV_DNN_CUDA=ON \
    -D CUDNN_LIBRARY=/usr/lib/cuda/lib64/libcudnn.so.7.6.5 \
    -D CUDNN_INCLUDE_DIR=/usr/lib/cuda/include  \
    -D CUDA_ARCH_BIN=6.1 ..

I have spent an entire miserable day following internet suggestions on how to fix this problem, without success.

Any help would be appreciated.

try to add:

-D BUILD_opencv_vtk=OFF
-D WITH_VTK=OFF

if you can live without the vtk module
(which seems to have faulty dependencies on your system)