Failing to build OpenCV on kubuntu 22

Okay, managed to fix.

I upgraded nvidia drivers to 535 (I don’t know why but 525 drivers seemed to have been installed automatically.

This allowed me to install a newer cuda version (previously dependency issues stopped me.)

The build is now progressing.