[FFmpeg-devel] [Compiled Failed] Trying to compile FFmpeg with mysofa and it failed at af_sofalizer.c:164:32

Paul B Mahol onemda at gmail.com
Wed Aug 28 16:12:28 EEST 2019


On 8/27/19, Andrey Semashev <andrey.semashev at gmail.com> wrote:
> On 12/29/18 10:15 PM, James Almer wrote:
>> On 12/29/2018 8:09 AM, Paul B Mahol wrote:
>>> On 12/29/18, Ysy <shengyang998 at foxmail.com> wrote:
>>>> I was trying to compile FFmpeg with `--enable-libmysofa`, and it failed
>>>> with
>>>> this message below:
>>>>
>>>> src/libavfilter/af_sofalizer.c:164:32: error: implicit declaration of
>>>> function 'mysofa_neighborhood_init_withstepdefine' is invalid in C99
>>>>        [-Werror,-Wimplicit-function-declaration]
>>>>          s->sofa.neighborhood =
>>>> mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>>>>                                 ^
>>>> src/libavfilter/af_sofalizer.c:164:32: warning: this function
>>>> declaration is
>>>> not a prototype [-Wstrict-prototypes]
>>>> src/libavfilter/af_sofalizer.c:164:30: warning: incompatible integer to
>>>> pointer conversion assigning to 'struct MYSOFA_NEIGHBORHOOD *' from
>>>> 'int'
>>>>        [-Wint-conversion]
>>>>          s->sofa.neighborhood =
>>>> mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
>>>>                               ^
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> 2 warnings and 1 error generated.
>>>>
>>>> Device:
>>>> macOS Mojave (10.14.2)
>>>> Apple LLVM version 10.0.0 (clang-1000.11.45.5)
>>>> Target: x86_64-apple-darwin18.2.0
>>>> Thread model: posix
>>>>
>>>> The code was committed 6 days ago with comment `stop using easy API` in
>>>> master branch.
>>>>
>>>> I’ve noticed that this function
>>>> (`mysofa_neighborhood_init_withstepdefine `)
>>>> is really not yet exist on this project. Maybe it is not completed yet?
>>>>
>>>> Thank you for watching this.
>>>
>>> Update libmysofa lib.
>>
>> What's the first version that works? The configure check should be
>> updated to bail out if it's too old.
>
> Is there a resolution? What is the min version of libmysofa?
latest one from git.
>
> I'm failing to compile ffmpeg 4.2 on Ubuntu 19.04 because of this.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list