[Slackbuilds-users] ffmpeg not building
Christoph Willing
chris.willing at iinet.net.au
Tue May 1 01:11:24 UTC 2018
On 01/05/18 10:07, JCA wrote:
[snip]
> CClibavfilter/vf_libopencv.o
> In file included from /usr/include/opencv2/core/types_c.h:59:0,
> from /usr/include/opencv2/core/core_c.h:48,
> from libavfilter/vf_libopencv.c:28:
> /usr/include/opencv2/core/cvdef.h:485:1: error: unknown type name
> 'namespace'
> namespace cv {
> ^
> /usr/include/opencv2/core/cvdef.h:485:14: error: expected '=', ',', ';',
> 'asm' or '__attribute__' before '{' token
> namespace cv {
> ^
> common.mak:60: recipe for target 'libavfilter/vf_libopencv.o' failed
> make: *** [libavfilter/vf_libopencv.o] Error 1
>
This has been raised previously and a fix suggested. I was going to
update the SlackBuild to apply the appropriate patch but have since
forgotten about it. Sorry about that - I will definitely do it this week.
In the meantime the fix (found by Ythogtha <yth at ythogtha.org> on this
list) is at:
https://github.com/opencv/opencv/issues/10963
chris
More information about the SlackBuilds-users
mailing list