[FFmpeg-devel] OpenCV filter should be built as C++, and C builds fail since OpenCV 3.4.1

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Mar 19 23:20:22 EET 2018


On 3/19/2018 8:57 PM, Nicolas George wrote:
> Derek Buitenhuis (2018-03-19):
>> libutvideo was handled 100% incorrectly. We hardcoded libstdc++ as a
>> dependency, but the proper solution was to link with CXX instead of CC.
> 
> This is not a *proper* solution, since it does not scale to the case
> where several languages all have that requirement. If the OpenCV people
> want to drop C support, then C apps should drop OpenCV support.

If you want to link with a C++ library that is indeed the 'proper' solution.
As far as I am aware "several languages all have that requirement" is simply
a theoretical scenario that doesn't actually exist. What else beside C++
requires this?

Regardless, I agree that dropping OpenCV support is the likely outcome
or "solution" here.

- Derek


More information about the ffmpeg-devel mailing list