pixop / video-compare

Split screen video comparison tool using FFmpeg and SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

broken build on mac

paulirish opened this issue · comments

./demuxer.h:4:11: fatal error: 'libavformat/avformat.h' file not found
        #include "libavformat/avformat.h"

image

Here are the dependency versions I have installed:
image

libav

And FWIW I also see this..

image

and if i follow https://www.lyc4n.com/blog/2022/09/16/installing-unmaintained-brew-package.html

it still doesn't resolve:
image

That said, my weak undestanding is that the libav* stuff you're using is pulling from ffmpeg and not libav.. so maybe this is entirely unrelated. :)

Hey @paulirish,

No worries, it looks like what you did was correct.

First of all: libav is not the droid you are looking for ;) You don't need it to run video-compare.

Installing brew's ffmpeg package will get you the libav* libs that we crave.

Can you please check the contents of /usr/local/include/libavformat?

Screenshot 2022-11-28 at 10 10 22

Also, what's the output of which ffmpeg?

Screenshot 2022-11-28 at 10 18 28

I suspect brew might be installing its packages into a different directory than the three we currently detect (/opt/homebrew, /opt/local, /usr/local) on your system for some reason.