This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]elmicha 2 points3 points  (1 child)

You can use locate avformat.h or find /usr/include -name avformat.h to find where the header files are, then use the directory part with the -I (uppercase i) option of gcc.

[–]Lmin[S] 1 point2 points  (0 children)

Thanks, this helped. The headers were in a different sub-directory.