I downloaded and installed cygwin for Windows, I downloaded opencv (a ported version for cygwin) and successfully installed it, and my code compiles.
The problem is that CvCapture* capture = cvCreateCameraCapture(-1); always null!
The usb webcam is connected and not used. Why can't I access my webcam in cygwin? (Are there any specific reasons, for example, for example, I must first install the device, if so, I do not know about it)
I ask for advice
source share