Page 1 of 1

configure Error

Posted: 10 Aug 2005 20:18
by sad
configure: error: Missing header file ffmpeg/avcodec.h.
How do i fix this?

I have installed ffmpeg code, bur still break at here.

My kernel is 2.6.9-11.EL, RHEL4

Re: configure Error

Posted: 10 Aug 2005 21:16
by fkuehne
Did you tell VLC's configure the exact location of your compiled ffmpeg-source or where you installed it? Have a look at ./configure --help. There are 2 options which let you do that.
Additionally, make sure that you are using a rather recent ffmpeg-snapshot (but not after July 30 -- these don't work with 0.8.2! That's fixed in our development trunk though). Otherwise, you might encounter further configure-errors.

I meet the same problem, can you tell me how to?

Posted: 28 Sep 2005 11:23
by Guest
I meet the same problem, can you tell me how to tell vlc configure the ffmpeg path? thank you very much.

Re: I meet the same problem, can you tell me how to?

Posted: 28 Sep 2005 12:06
by fkuehne
It's like ./configure --help says: --with-ffmpeg-config-path=PATH ffmpeg-config path (default search in \$PATH) or --with-ffmpeg-tree=PATH ffmpeg tree for static linking

Posted: 29 Sep 2005 02:09
by huales
But it still doesn't work, I specified the ffmpeg path,
my ffmpeg version is ffmpeg-0.4.9-pre1
and I extract ffmpeg under /root, so I set the path to be /root/ffmpeg-0.4.9-pre1/libavcodec,
is it right?

thank you for your reply.

Posted: 29 Sep 2005 03:43
by huales
ok, this problem is OK now.

another problem:

I configured vlc with command: ./configure --disable-wxwindows --disable-skins2

and then compile.

but there are errors occured while compiling smb.c,
error information such as:
parse error before "SMBCCTX"

how can I do for this problem?

Posted: 29 Sep 2005 09:19
by huales
OK, it work, I upgraded the smb.
thank you.

Posted: 29 Sep 2005 17:47
by fkuehne
As far as I remember, it has to be /root/ffmpeg-0.4.9-pre1/ in your situation, if you are specifying the location of the compiled ffmpeg-source.