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"
Here are the dependency versions I have installed:
libav
And FWIW I also see this..
and if i follow https://www.lyc4n.com/blog/2022/09/16/installing-unmaintained-brew-package.html
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
?
Also, what's the output of which ffmpeg
?
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.