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

Nicolas George george at nsup.org
Tue Mar 20 17:02:18 EET 2018


Derek Buitenhuis (2018-03-19):
> 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?

No, it is not a theoretical scenario: most languages that produce native
code have the requirement to produce the final binary using their
toolchain. It is true for OCaml: you need to use ocamlopt to produce a
binary, even if using a third-party C library; I believe it is true for
Rust too.

The problem happens when you want to mix several of these languages,
because the requirements are incompatible.

Fortunately, most people who program in other languages than C are not
stupid enough to use them to produce libraries, except for use with that
language itself. Except c++ people, for some reason.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180320/cc96c79d/attachment.sig>


More information about the ffmpeg-devel mailing list