VideoCapture not work in linux

GCC 4.8.5
2015

I would strongly recommend updating everything.

this is not due to your operating system.

Darwin 22.2.0
December 13, 2022
macOS 13.1, iOS 16.2, iPadOS 16.2, watchOS 9.2 and tvOS 16.2