Page 1 of 1

error: "missing to header file ffmeg/avcodec.h"

Posted: 04 Aug 2004 14:35
by gisa
I am installing vlc 0.7.2 and when I execute the command: /configure -- enable-pvr-v4l-mozilla-kde occurs the following error: "missing to header file ffmeg/avcodec.h" .

Posted: 04 Aug 2004 16:35
by RĂ©mi Denis-Courmont
Maybe you don't have development headers for the ffmpeg library and you didn't specify --disable-ffmpeg (it is enabled by default).

Note however that VideoLAN's functionality will be serverly damaged without ffmpeg which is required to read MPEG-4 files such as DivX.

Posted: 24 Aug 2004 16:03
by fly135
I get the same error. I ibuilt and installed ffmpeg, but I don't know what headers and where to create a directory that will satisfy the configure script. I'm a bit of a Linux newb so excuse me if this is supposed to be obvious. I did copy avcodec.h into the only ffmpeg directory in the VLC src tree.

Posted: 24 Aug 2004 16:21
by fly135
Found the solution with search...

./configure --with-ffmpeg-tree=/home/your_home/ffmpeg

This will point vlc to your ffmpeg directory (if it's name ffmpeg as in the example).