Ask Your Question

Revision history [back]

Adding this for future people browsing the question:

4 errors in 'opencv/sources/modules/videoio/src/cap_dshow.cpp' pertaining to

ISampleGrabberCB, ISampleGrabber, IEnumPIDMap, and IMPEG2PIDMap.

Each of these interfaces needs a virtual destructor added to them (for example, in IEnumPIDMap, add virtual ~IEnumPIDMap(){} ). Adding these fixes the issues.

Conversely, I have noticed that there has been a fix for this MinGW problem submitted, and if you pull the latest revision from git, this problem should clear up.