Compile VLC on Mac
Posted: 21 Oct 2021 03:29
I am following instructions at https://wiki.videolan.org/MacOSCompile, Build steps. Development tools and 3rd party libraries (prebuilt) finished OK. In Build VLC step (make -j4), I get 8 similar compile errors:
../../extras/package/macosx/../../../modules/codec/avcodec/encoder.c25: error: implicit declaration of function 'av_rescale_q' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
4 errors are on file /modules/codec/avcodec/encoder.c and 4 on file /modules/demux/avformat/demux.c.
The OS is 11.6 Big Sur, XCode is Version 13.0 (13A233).
../../extras/package/macosx/../../../modules/codec/avcodec/encoder.c25: error: implicit declaration of function 'av_rescale_q' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
4 errors are on file /modules/codec/avcodec/encoder.c and 4 on file /modules/demux/avformat/demux.c.
The OS is 11.6 Big Sur, XCode is Version 13.0 (13A233).