Missing GL development files when compiling VLC 0.9.9a

*nix specific usage questions
jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Missing GL development files when compiling VLC 0.9.9a

Postby jgg » 21 Apr 2009 17:00

Hi,

I'm trying to compile VLC 0.9.9a but I get into dependency errors.

When I issue #./configure --prefix=/usr/vlc I get:

Code: Select all

... checking for X11/extensions/Xv.h... no checking for X11/Xlib.h... (cached) yes checking GL/glu.h usability... no checking GL/glu.h presence... no checking for GL/glu.h... no checking GL/glx.h usability... yes checking GL/glx.h presence... yes checking for GL/glx.h... yes configure: error: Please install GL development package. Alternatively you can also configure with --disable-glx.
Could anyone please tell me if I'm missing any packages so I can get VLC 0.9.9a working?

Thanks a lot.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Missing GL development files when compiling VLC 0.9.9a

Postby Rémi Denis-Courmont » 21 Apr 2009 17:55

libgl1-mesa-dev
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pez
New Cone
New Cone
Posts: 8
Joined: 11 Dec 2008 15:52

Re: Missing GL development files when compiling VLC 0.9.9a

Postby pez » 21 Apr 2009 19:38

i had the same problem, libgl1-mesa-dev didn't resolve it, checking the configure errors this showed up:

...
checking for X11/extensions/Xv.h... no
checking for X11/Xlib.h... (cached) yes
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no

checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
configure: error: Please install GL development package. Alternatively you can also configure with --disable-glx.

installed xlibmesa-glu-dev and worked with version vlc-0.9.9a

thanks rémi though, cause searching throgh mailists only got me "install mesa", with your comment i could narrow the search

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: Missing GL development files when compiling VLC 0.9.9a

Postby jgg » 22 Apr 2009 10:43

Thanks for your answers.

I installed both packages and x11proto-xext-dev as needed, but now I get a new error related to ld:

--> /usr/bin/ld: cannot find -lXext

Code: Select all

... xcommon.c: In function ‘ToggleFullScreen’: xcommon.c:2083: warning: unused variable ‘xevent’ mv -f .deps/libglx_plugin_la-xcommon.Tpo .deps/libglx_plugin_la-xcommon.Plo /bin/sh ../../../libtool --tag=CC --mode=link gcc -std=gnu99 `top_builddir="../../.." ../../../vlc-config --cflags plugin libglx_plugin.la` -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -rpath '/usr/local/lib/vlc/video_output' -avoid-version -module -no-undefined -export-symbol-regex ^vlc_entry -shrext .so `top_builddir="../../.." ../../../vlc-config --ldflags plugin libglx_plugin.la` -o libglx_plugin.la libglx_plugin_la-glx.lo libglx_plugin_la-xcommon.lo `top_builddir="../../.." ../../../vlc-config -libs plugin libglx_plugin.la` ../../../src/libvlccore.la libtool: link: gcc -std=gnu99 -shared .libs/libglx_plugin_la-glx.o .libs/libglx_plugin_la-xcommon.o -Wl,-rpath -Wl,/home/dulceangustia/vlc-0.9.9a/src/.libs -lX11 -lXext -lGL -lGLU ../../../src/.libs/libvlccore.so -lhal -ldbus-1 -lrt -lpthread -ldl -lm -mtune=pentium2 -Wl,-soname -Wl,libglx_plugin.so -o .libs/libglx_plugin.so /usr/bin/ld: cannot find -lXext collect2: ld returned 1 exit status make[6]: *** [libglx_plugin.la] Error 1 make[6]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules/video_output/x11' make[5]: *** [all] Error 2 make[5]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules/video_output/x11' make[4]: *** [all-recursive] Error 1 make[4]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules/video_output' make[3]: *** [all] Error 2 make[3]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules/video_output' make[2]: *** [all-recursive] Error 1 make[2]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a/modules' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/home/dulceangustia/vlc-0.9.9a' make: *** [all] Error 2

Code: Select all

jet:/home/dulceangustia# find / -name libXext* /usr/lib/libXext.so.6 /usr/lib/libXext.so.6.4.0
I'm using Debian Lenny 2.6.26 with ld 2.18.0.20080103. Any clue?

Thanks.

jgg
Cone that earned his stripes
Cone that earned his stripes
Posts: 144
Joined: 03 Nov 2007 15:49

Re: Missing GL development files when compiling VLC 0.9.9a

Postby jgg » 22 Apr 2009 12:44

Installing libxext-dev solved it.


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

Who is online

Users browsing this forum: No registered users and 15 guests