error compiling vlc

*nix specific usage questions
nik600

error compiling vlc

Postby nik600 » 22 Sep 2005 20:06

i'm trying to compile vlc with

./configure --prefix=/usr --enable-wxwindows

but during the configure i get the following error:

Code: Select all

checking for ffmpeg-config... no 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.
what can i do?
i use slackware 10.1 with kernel 2.6.8.1

thanks

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

Re: error compiling vlc

Postby fkuehne » 22 Sep 2005 21:30

You need to install ffmpeg or use --disable-ffmpeg to disable its usage. I strongly recommend you to install ffmpeg including its dev-headers, because otherwise you won't be able to play most video and audio files. Installing the current cvs-version of ffmpeg is preferable, because the 0.4.8 release is not compatible with the current release of VLC and many improvements were added since the 0.4.9-pre1 release.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

nik600
New Cone
New Cone
Posts: 2
Joined: 22 Sep 2005 20:06

Postby nik600 » 22 Sep 2005 22:14

thanks!

i've compiled ffmpeg-0.4.9-pre1

with: ./configure --enable-pp --enable-gpl

and vlc-0.8.2

with: ./configure --prefix=/usr/local/vlc-0.8.2/ --with-ffmpeg-tree=/home/programmi/streaming/ffmpeg-0.4.9-pre1 --enable-wxwindows



and all works fine!

Guest

Postby Guest » 23 Sep 2005 18:39

I have tried the same, during ffmpeg configue i get the following:

/tmp/ffmpeg-conf-6500-28598-27733.c:1:21: altivec.h: Datei oder Verzeichnis nicht gefunden
/tmp/ffmpeg-conf-6500-28598-27733.c:1: error: synt


Any idea

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 » 25 Sep 2005 19:30

Hmm, seems like you want to compile ffmpeg on a ppc without having altivec-headers. Try --disable-altivec in ffmpeg's command-line. Note that you should apply this option to VLC's configure too.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

Guest

Postby Guest » 27 Sep 2005 09:13

Thanks,

for what is altivec needed ?

RP

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 » 27 Sep 2005 17:31

AltiVec (sometimes also called "Velocity Engine") is a special unit of PowerPC G4 and G5 processors (not of G3s though), which can noticeably speed up math calculations. Therefore, playback, streaming, encoding, etc. with VLC will be much faster, if it can make use of that unit.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

butler

Postby butler » 06 Oct 2005 22:00

thanks!

i've compiled ffmpeg-0.4.9-pre1

with: ./configure --enable-pp --enable-gpl

and vlc-0.8.2

with: ./configure --prefix=/usr/local/vlc-0.8.2/ --with-ffmpeg-tree=/home/programmi/streaming/ffmpeg-0.4.9-pre1 --enable-wxwindows



and all works fine!
When I do exactly this, I get a bunch of errors in ffmpeg.c...

linuxer

error compiling vlc

Postby linuxer » 08 Oct 2005 20:50

the configure file should be modified to point directly to avcodec.h which is the only file the actual ffmpeg versions (both stable and CVS) install.
Pointing instead to the compiling directory of ffmpeg, while working, is very unorthodox : those directory usually are provisionnal and uselessly are bite-eaters.

Theremore, the actual CVS version doesn't work to compile VLC. The stable version does.

From another hand, it sd be noted that wxwindows doesn't exist as an actual version any more. It actually is wxGtk.
As far as wxGtk development package is concerned, it did'nt manage to find it as an equivalent source version of the actual wxGtk.

Happily, i got it as a rpm in my SuSE distro and intsalling it i could compile.

Nevertheless, now vlc crashes when trying to read a DVD : will try the verbosity level, let's see


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

Who is online

Users browsing this forum: No registered users and 54 guests