Cant build VLC, cant run GPU accelerated

*nix specific usage questions
p-r-e-d-a-t-o-r
New Cone
New Cone
Posts: 1
Joined: 05 Sep 2011 18:18

Cant build VLC, cant run GPU accelerated

Postby p-r-e-d-a-t-o-r » 05 Sep 2011 18:26

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.

moijdikssekool
Blank Cone
Blank Cone
Posts: 29
Joined: 06 Jun 2011 03:35

Re: Cant build VLC, cant run GPU accelerated

Postby moijdikssekool » 06 Sep 2011 16:54

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?

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

Re: Cant build VLC, cant run GPU accelerated

Postby Rémi Denis-Courmont » 06 Sep 2011 17:06

configure --disable-skins2

This build bug is already fixed in VLC 1.2.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


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

Who is online

Users browsing this forum: No registered users and 9 guests