Hi! 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/ Thanks, Mitja
On Mon, 12 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/
If you have ffmpeg in the common locations, just pass --with-ffmpeg-libs-includes=/usr/include/ffmpeg \ --with-ffmpeg-libs-libs=/usr/lib to ./configure Regards Christoph
On Tuesday 13 September 2005 01:36, Christoph Thiel wrote:
On Mon, 12 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/
If you have ffmpeg in the common locations, just pass
--with-ffmpeg-libs-includes=/usr/include/ffmpeg \ --with-ffmpeg-libs-libs=/usr/lib
to ./configure
Regards Christoph
Thanks for help. I tried and i got same error again.
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/
If you have ffmpeg in the common locations, just pass
--with-ffmpeg-libs-includes=/usr/include/ffmpeg \ --with-ffmpeg-libs-libs=/usr/lib
to ./configure
Thanks for help. I tried and i got same error again.
So, the question would be where did you install ffmpeg to? You might want to look into /usr/local/include/ffmpeg and apply s/include/local\/include/ to my configure options posted above. Regards Christoph
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 -- Guðlaugur Jóhannesson http://www.hi.is/~gudlaugu Phone: +354 849 8405
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?
ajtiM wrote:
On Tuesday 13 September 2005 10:43, Guðlaugur Jóhannesson 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
Christoph Thiel wrote: 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
On Tuesday 13 September 2005 12:54, Guðlaugur Jóhannesson wrote:
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
Uhhh. I found opt.h on the ffmpeg site and now works. Thanks a lot...
On Tuesday 13 September 2005 10:36, Christoph Thiel wrote:
So, the question would be where did you install ffmpeg to? You might want to look into /usr/local/include/ffmpeg and apply
s/include/local\/include/
to my configure options posted above.
Regards Christoph
It installed in /usr/include/ffmpeg
participants (3)
-
ajtiM
-
Christoph Thiel
-
Guðlaugur Jóhannesson