FS#57811 - [vlc] fails to build with opencv 3.4.1-1
Attached to Project:
Arch Linux
Opened by Daniel Bermond (Bermond) - Monday, 12 March 2018, 21:43 GMT
Last edited by Levente Polyak (anthraxx) - Sunday, 03 June 2018, 18:44 GMT
Opened by Daniel Bermond (Bermond) - Monday, 12 March 2018, 21:43 GMT
Last edited by Levente Polyak (anthraxx) - Sunday, 03 June 2018, 18:44 GMT
|
Details
Description:
vlc fails to compile with the newly released opencv 3.4.1-1. It builds fine with opencv 3.4.0. This has been reported upstream, as follows here: https://github.com/opencv/opencv/issues/10963 Quoting an opencv developer: "OpenCV 3.x doesn't not support C compilation mode officially. There are still legacy C API calls (from OpenCV 1.x) but they should be compiled in C++ compilation mode." It seems that vlc is trying to compile opencv code in C mode, which is not supported. On the mentioned github issue page there is a proposed opencv patch to allow vlc to compile. As a result, people compiling vlc from source with the Arch Build System will fail to build it. vlc AUR packages also fails to build. Maybe other software are possible affected? I'm not sure. I know that when trying to compile ffmpeg with opencv enabled produces the exact same error. Additional info: vlc 3.0.1-2 opencv 3.4.1-1 Steps to reproduce: Get vlc arch source files (PKGBUILD, etc) and try to build it. |
This task depends upon
Closed by Levente Polyak (anthraxx)
Sunday, 03 June 2018, 18:44 GMT
Reason for closing: Won't fix
Additional comments about closing: opencv support is removed, too cumersome and doesn't bring much.
may consider once they dont go nuts anymore.
Sunday, 03 June 2018, 18:44 GMT
Reason for closing: Won't fix
Additional comments about closing: opencv support is removed, too cumersome and doesn't bring much.
may consider once they dont go nuts anymore.