mpenkov / ffmpeg-tutorial

A set of tutorials that demonstrates how to write a video player based on FFmpeg
http://www.ffmpeg.org/documentation.html
1.22k stars 395 forks source link

libavcodec/avcodec.h not found #29

Closed fornof closed 8 years ago

fornof commented 8 years ago

$ make mkdir -p obj mkdir -p bin gcc -Wall -ggdb tutorial01.c -c -o obj/tutorial01.o tutorial01.c:20:32: fatal error: libavcodec/avcodec.h: No such file or directory

include <libavcodec/avcodec.h>

                            ^

compilation terminated. Makefile:34: recipe for target 'obj/tutorial01.o' failed make: *\ [obj/tutorial01.o] Error 1

I get this "libavcodec/avcodec.h not found" when following the original tutorial and when trying to make this tutorial.

mpenkov commented 8 years ago

The ffmpeg headers are missing. You need to install ffmpeg as described in the readme.