Page 1 of 1

./configure says Missing header file ffmpeg/avcodec.h

Posted: 12 Jan 2006 20:36
by imad.hammad
Newbie at linux, running suse 10 and installed ffmpeg through Yast.

When trying to configure vlc I keep getting

checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
configure: error: Missing header file ffmpeg/avcodec.h.

I checked a similar post where someone used the --with option I think to redirect vlc to the correct location of ffmpeg. My problem is i don't know how to discover the location of ffmpeg (if that is needed the purpose of --with)


Any help would be very much appreciated, thank you
Imad

Posted: 13 Jan 2006 03:36
by tonsofpcs
find ffmpeg
should do it

ffmpeg

Posted: 13 Jan 2006 08:26
by SARAVANA
Hi....

If u install FFmpeg it will install all the libraries in /usr/local/lib so u have to copy necessary files to /usr/lib .... or u can make a library path in .bash_profile ..... ok try this ........

All the Best 8)

Posted: 13 Jan 2006 17:30
by psYchotic
The simplest way is to find out where the ffmpeg directory is, and then use the following :

Code: Select all

./configure --with-ffmpeg-tree=/path/to/ffmpeg [and here you should put all of the other arguments you want]
I think that should do the trick ;)