configure Error

*nix specific usage questions
sad

configure Error

Postby sad » 10 Aug 2005 20:18

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

fkuehne
Developer
Developer
Posts: 7275
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: configure Error

Postby fkuehne » 10 Aug 2005 21:16

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.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Guest

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

Postby Guest » 28 Sep 2005 11:23

I meet the same problem, can you tell me how to tell vlc configure the ffmpeg path? thank you very much.

fkuehne
Developer
Developer
Posts: 7275
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

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

Postby fkuehne » 28 Sep 2005 12:06

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
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

huales
Blank Cone
Blank Cone
Posts: 31
Joined: 28 Sep 2005 11:20

Postby huales » 29 Sep 2005 02:09

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.

huales
Blank Cone
Blank Cone
Posts: 31
Joined: 28 Sep 2005 11:20

Postby huales » 29 Sep 2005 03:43

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?

huales
Blank Cone
Blank Cone
Posts: 31
Joined: 28 Sep 2005 11:20

Postby huales » 29 Sep 2005 09:19

OK, it work, I upgraded the smb.
thank you.

fkuehne
Developer
Developer
Posts: 7275
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Postby fkuehne » 29 Sep 2005 17:47

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.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 85 guests