[MPlayer-users] Mplayer doesn't compile
Tor Olav Stava
t-ol-sta at online.no
Fri Aug 26 09:49:29 CEST 2005
Michael Scholz wrote:
> your hints helped - now it compiles! I still have no idea why the
> GL-stuff is broken nor what could have caused it. Previous releases of
> mplayer compiled out of the box (i. e.: tar -xjf <Archive> && cd
> <TargetFolder> && ./configure && make && ./mplayer <opts> <media> &&
> :o) ).
> Anyway, if there's some time I'll try to investigate the issue a
> little closer. But I can't say when. Even others may be a lot faster
> finding out why.
>> On Thu, Aug 25, 2005 at 11:00:47AM -0400, Rich Felker wrote:
>> > On Thu, Aug 25, 2005 at 02:43:25PM +0200, Reimar Döffinger wrote:
>> > > Your OpenGL headers are broken. Solutions:
>> > > 1) get working ones
>> > > 2) Try replacing GL_TEXTURE_INTERNAL_FORMAT by GL_TEXTURE_COMPONENTS
>> > > 3) add '#define GL_TEXTURE_INTERNAL_FORMAT 0x1003' to vo_gl2.c or
>> > > replace GL_TEXTURE_INTERNAL_FORMAT by 0x1003
>> > > 4) ./configure --disable-gl
>> > Just so it's clear, any one of these four will work. Unless you intend
>> > to use opengl, I'd just go with #4 (disabling it).
>> Though I wouldn't mind if you could find out why and it what way your
>> headers are broken if you have some time to invest.
>> Also having more vos available means more ways to test things, in case
>> you are interested in doing some testing/porting yourself somewhen *g*.
>> Reimar Döffinger
Maybe not the cause of the roubles, but I discovered during my LFS/BLFS
build that installing the drivers from NVidia will brake the build of
MPlayer. Reason is that NVidia replaces a few GL header files. This
could be disabled during the install of the drivers, or just use the
./configure --disable-gl option when compiling MPlayer. Worked for me ;)
If anyone's interested, I can post exactly which files gets replaced by
the NVidia driver install.
More information about the MPlayer-users