Page 1 of 1

Compile VLC on Mac

Posted: 21 Oct 2021 03:29
by zlatko59
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.c:1105:25: 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).

Re: Compile VLC on Mac

Posted: 03 Nov 2021 01:12
by unidan
Which version of vlc are you trying to compile ?