Opened 2 years ago

Last modified 2 years ago

#10020 new defect

FFmpeg does not compile under macOS Ventura 13.01

Reported by: Nicola Coppola Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords:
Cc: Nicola Coppola Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Carl Eugen Hoyos)

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

Change History (1)

comment:1 by Carl Eugen Hoyos, 2 years ago

Description: modified (diff)
Keywords: does not compile removed

Please provide the configure line you used.

Last edited 2 years ago by Carl Eugen Hoyos (previous) (diff)
Note: See TracTickets for help on using tickets.