[FFmpeg-trac] #10020(avcodec:new): FFmpeg does not compile under macOS Ventura 13.01

FFmpeg trac at avcodec.org
Thu Nov 10 14:25:34 EET 2022


#10020: FFmpeg does not compile under macOS Ventura 13.01
-------------------------------------+-------------------------------------
             Reporter:  Nicola       |                    Owner:  (none)
  Coppola                            |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by Carl Eugen Hoyos):

 * keywords:  does not compile =>


Old description:

> I am trying to compile the source code.
> I have installed the 'nvEncodeAPI.h' headers from the web version
> 11.1.5.2
>
> ///////
> ....
> .....
> libavcodec/nvenc.c:1359:5: error: unknown type name 'NV_ENC_CONFIG_AV1';
> did you mean 'NV_ENC_CONFIG_HEVC'?
>     NV_ENC_CONFIG_AV1 *av1 = &cc->encodeCodecConfig.av1Config;
>     ^~~~~~~~~~~~~~~~~
>     NV_ENC_CONFIG_HEVC
> /usr/local/include/ffnvcodec/nvEncodeAPI.h:1585:3: note:
> 'NV_ENC_CONFIG_HEVC' declared here
> } NV_ENC_CONFIG_HEVC;
>   ^
> libavcodec/nvenc.c:1359:53: error: no member named 'av1Config' in 'union
> _NV_ENC_CODEC_CONFIG'; did you mean 'hevcConfig'?
>
> /////////////////////// (this is the first of 4 similar lines
>
> I have the latest downloader the latest version via git

New description:

 I am trying to compile the source code.
 I have installed the 'nvEncodeAPI.h' headers from the web version 11.1.5.2

 ///////
 {{{
 .....
 libavcodec/nvenc.c:1359:5: error: unknown type name 'NV_ENC_CONFIG_AV1';
 did you mean 'NV_ENC_CONFIG_HEVC'?
     NV_ENC_CONFIG_AV1 *av1 = &cc->encodeCodecConfig.av1Config;
     ^~~~~~~~~~~~~~~~~
     NV_ENC_CONFIG_HEVC
 /usr/local/include/ffnvcodec/nvEncodeAPI.h:1585:3: note:
 'NV_ENC_CONFIG_HEVC' declared here
 } NV_ENC_CONFIG_HEVC;
   ^
 libavcodec/nvenc.c:1359:53: error: no member named 'av1Config' in 'union
 _NV_ENC_CODEC_CONFIG'; did you mean 'hevcConfig'?
 }}}
 /////////////////////// (this is the first of 4 similar lines

 I have the latest downloader the latest version via git

--
Comment:

 Please confirm that you tested current FFmpeg git head and please provide
 the configure line you used.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10020#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list