compiler erros

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
dignified
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Nov 2003 12:21
Contact:

compiler erros

Postby dignified » 24 Nov 2003 19:33

vlc says it wants ffmpeg. I downloaded 0.4.8 from ffmpeg.sf.net and everything compiled fine. I think it only installed two programs, ffmpeg and ffserver.

are there some development packages I'm missing?

-ryan

zorglub
Cone that earned his stripes
Cone that earned his stripes
Posts: 482
Joined: 21 Nov 2003 02:53
Location: Paris - France
Contact:

Postby zorglub » 24 Nov 2003 21:48

You need to build ffmpeg with --enable-pp

Then, put --with-ffmpeg-tree=/absolute/path/to/ffmpeg/source/tree in the configure line of vlc

(Actually, installing ffmpeg is not useful for vlc)
Zorglub
Clément Stenac

Knallerten

compile errors

Postby Knallerten » 25 Nov 2003 20:17

I get errors when trying to compile vlc as well. I have compiled ffmpeg with the following options:
./configure --prefix=/opt/ffmpeg-0.4.8/ --enable-mp3lame --enable-vorbis --enable-faad --enable-a52 --enable-shared --enable-pp
make
make install

And when trying to compile vlc with following options:
./configure --with-ffmpeg-mp3lame --with-ffmpeg-tree=/opt/src/ffmpeg-0.4.8
the "make" fails with the follwing exit code:
ffmpeg.c: In function `InitThread':
ffmpeg.c:300: error: parse error before "LIBAVCODEC_BUILD_STR"
make[6]: *** [libffmpeg_a-ffmpeg.o] Error 1
make[6]: Leaving directory `/usr/local/src/vlc-0.6.2/modules/codec/ffmpeg'
make[5]: *** [all-ffmpeg] Error 1
make[5]: Leaving directory `/usr/local/src/vlc-0.6.2/modules/codec/ffmpeg'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/src/vlc-0.6.2/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/src/vlc-0.6.2/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/vlc-0.6.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vlc-0.6.2'
make: *** [all] Error 2

Has anyone got any ideas about this?

Best regards!

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 25 Nov 2003 21:05

This isn't VLC from CVS.
the ffmpeg folks removed something from 0.4.8, which prevents VLC from compiling succesfully. either use an older ffmpeg version, or a newer VLC.
Don't use PMs for support questions.

knald
New Cone
New Cone
Posts: 4
Joined: 25 Nov 2003 22:06
Location: Copenhagen, Technical University of Denmark

Postby knald » 26 Nov 2003 10:16

Hi

Thank you very much. VLC now compiles since I tried downloading the CVS version.
Best Regards!
Linux IS user friendly...it just chooses its friends with care :)

Joey

configure VLC in Fedora Core3

Postby Joey » 15 Jun 2005 06:34

I try many methods for install VLC in my FC3.
But still happen"configure: Missing header file ffmpeg/avcodec.h" error message.
can someone tell me a right method to install VLC?

:cry:

EagleX

Postby EagleX » 18 Jul 2005 20:42

I have the same problem too...
anyone?

Guest

Postby Guest » 19 Jul 2005 07:01

on the dev page at the bottom shows libs:
http://developers.videolan.org/vlc/

and a page of lib packages:
http://download.videolan.org/pub/testing/contrib/

and then some vlc external libs full packages for cygwin or mingw or something:
http://download.videolan.org/pub/testing/win32/

got appropriate versions in use?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 4 guests