ajtiM wrote:
On Tuesday 13 September 2005 10:43, Guðlaugur Jóhannesson wrote:
Christoph Thiel wrote:
On Tue, 13 Sep 2005, ajtiM wrote:
I try to compile transcode on SuSE 10.0 RC1. I installed ffmpeg.
I get an error:

ERROR: requirement failed: cannot compile ffmpeg/avcodec.h
ffmpeg/avcodec.h can be found in the following packages:
FFMpeg  http://www.ffmpeg.org/
I had the same problem.  If you look at the config(ure).log you should
see that avcodec.h depends on another header (which I don't remember the
name of, probably opt.h) which has to be copied from the ffmpeg build
directory.  I built ffmpeg from a rpm.src file so it was in
/usr/src/packages/BUILD/ffmpeg-<version>/libavcodec/
Just copy the file to /usr/include/ffmpeg/

Cheers

I installed from Pacman site. I look in the log but i din't find nothing about avcodec.h. Strange?

yes indeed. I built ffmpeg from src.rpm from packman and it is missing the opt.h in the install. You should try to get that header file if it is not in /usr/include/ffmpeg, it is in the ffmpeg src tree. That solved the problems for me, although I wasn't building transcode but vlc, but I got a similar error.

HTH

--
Guðlaugur Jóhannesson
http://www.hi.is/~gudlaugu
Phone: +354 849 8405

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to