Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Enable libopus #2

Open
Classsic opened this issue Feb 12, 2018 · 1 comment
Open

Enable libopus #2

Classsic opened this issue Feb 12, 2018 · 1 comment

Comments

@Classsic
Copy link

Hi, I tried to enable libopus on your Dockerfile adding this:
yum install -y libdrm libdrm-devel opus-devel.x86_64
and
--enable-libopus \
on configure, but get this error:
``libavcodec/libopusenc.c: In function 'libopus_encode_init':
libavcodec/libopusenc.c:337:9: error: implicit declaration of function 'opus_multistream_surround_encoder_create' [-Werror=implicit-function-declaration]
enc = opus_multistream_surround_encoder_create(
^
libavcodec/libopusenc.c:337:13: warning: assignment makes pointer from integer without a cast [enabled by default]
enc = opus_multistream_surround_encoder_create(
^
cc1: some warnings being treated as errors
make: *** [libavcodec/libopusenc.o] Error 1
Any idea whats is wrong?
thanks.

@pocka
Copy link
Owner

pocka commented Feb 24, 2018

Sorry, I have no idea...

But in my experience, weird errors related to lib** on CentOS6(or 7)+ffmpeg often comes from version mismatching. I defeated them by installing newer version of lib**.
So installing newer libopus manually might solves your problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants