Compile VLC on Mac

This forum is about all development around libVLC.
zlatko59
New Cone
New Cone
Posts: 1
Joined: 21 Oct 2021 03:18

Compile VLC on Mac

Postby zlatko59 » 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.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).

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Compile VLC on Mac

Postby unidan » 03 Nov 2021 01:12

Which version of vlc are you trying to compile ?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 34 guests