Page 1 of 1

Cant build VLC, cant run GPU accelerated

Posted: 05 Sep 2011 18:26
by p-r-e-d-a-t-o-r
Hi all, I wanted to build VLC on my Ubuntu 11.04. I installed all needed packages bud when i run ./compile or make I get this error:

Code: Select all

x11/x11_display.cpp:29:21: fatal error: X11/xpm.h: No such file or directory compilation terminated. make[6]: *** [libskins2_plugin_la-x11_display.lo] Chyba 1 make[6]: Leaving directory `/home/p-r-e-d-a-t-o-r/Stiahnuté/vlc-1.1.11/modules/gui/skins2' make[5]: *** [all] Chyba 2 make[5]: Leaving directory `/home/p-r-e-d-a-t-o-r/Stiahnuté/vlc-1.1.11/modules/gui/skins2' make[4]: *** [all-recursive] Chyba 1 make[4]: Leaving directory `/home/p-r-e-d-a-t-o-r/Stiahnuté/vlc-1.1.11/modules/gui' make[3]: *** [all] Chyba 2 make[3]: Leaving directory `/home/p-r-e-d-a-t-o-r/Stiahnuté/vlc-1.1.11/modules/gui' make[2]: *** [all-recursive] Chyba 1 make[2]: Leaving directory `/home/p-r-e-d-a-t-o-r/Stiahnuté/vlc-1.1.11/modules' make[1]: *** [all-recursive] Chyba 1 make[1]: Leaving directory `/home/p-r-e-d-a-t-o-r/Stiahnuté/vlc-1.1.11' make: *** [all] Chyba 2
I need to build vlc because I readed that if I want to enable GPU acceleration on my AMD card I need to rebuilt VLC.Because when I just install xvba-video and play video in vlc it crashed with error:

Code: Select all

VLC media player 1.1.9 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x2576120] main libvlc: Spustenie programu VLC s predvoleným rozhraním. Pre spustenie bez rozhrania zadajte príkaz 'cvlc'. Blocked: call to setlocale(6, "") Warning: call to srand(1315428756) Warning: call to rand() Blocked: call to setlocale(6, "") (process:3421): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Warning: call to rand() Warning: call to rand() Warning: call to rand() Warning: call to rand() libva: libva version 0.31.1 Xlib: extension "XFree86-DRI" missing on display ":0". libva: va_getDriverName() returns 0 Chyba segmentácie
Of course I apt-get remove vlc before I started building. Thanks for every help.

Re: Cant build VLC, cant run GPU accelerated

Posted: 06 Sep 2011 16:54
by moijdikssekool
x11/x11_display.cpp:29:21: fatal error: X11/xpm.h: No such file or directory
you need this file: xpm.h
does that mean you need the source of X11?

Re: Cant build VLC, cant run GPU accelerated

Posted: 06 Sep 2011 17:06
by Rémi Denis-Courmont
configure --disable-skins2

This build bug is already fixed in VLC 1.2.