Cannot run compiled VLC

This forum is about all development around libVLC.
Thelo
New Cone
New Cone
Posts: 3
Joined: 09 Jul 2021 19:56

Cannot run compiled VLC

Postby Thelo » 09 Jul 2021 20:05

Hello, I'm having trouble launching VLC media player at all, after compiling it from the wiki's instructions at https://wiki.videolan.org/UnixCompile/ :

Code: Select all

thelo@Experience:~/proj/vlc-3.0.16$ bin/vlc VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2) thelo@Experience:~/proj/vlc-3.0.16$
Whenever I try to launch vlc from the console, it just prints one single line with the VLC version number, then immediately exits. I have no idea why, and I cannot find any relevant log files, or find any other output than that single line. What's going on?

I'm using Ubuntu 20.04.2, compiled from the 3.0.16 source archive downloaded from https://www.videolan.org/vlc/download-sources.html . The same thing happens if I try to compile from the 3.0.15 source archive. I used

Code: Select all

sudo apt-get build-dep vlc
to get the dependencies, rather than building contribs manually, if that matters.

The regular build of VLC works fine, this problem only happens with the VLC that I compiled myself just now. What can I do to make my locally-compiled VLC work as expected?

Edit: The executable vlc-wrapper also has the same problem, but the executable vlc-static actually works fine. I'm pretty confused.

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

Re: Cannot run compiled VLC

Postby Rémi Denis-Courmont » 09 Jul 2021 20:44

You're not running VLC like the wiki page says to. It does not work. Maybe there is a link?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Thelo
New Cone
New Cone
Posts: 3
Joined: 09 Jul 2021 19:56

Re: Cannot run compiled VLC

Postby Thelo » 09 Jul 2021 20:48

The instructions in the link above say to simply run "./vlc", which does not work.

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

Re: Cannot run compiled VLC

Postby Rémi Denis-Courmont » 09 Jul 2021 20:49

Works fine here and for plenty of people. You'll need to be more specific if you expect help.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Thelo
New Cone
New Cone
Posts: 3
Joined: 09 Jul 2021 19:56

Re: Cannot run compiled VLC

Postby Thelo » 09 Jul 2021 20:51

Ok, so what could possibly make it not work here? That's what I'm asking for.

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

Re: Cannot run compiled VLC

Postby Rémi Denis-Courmont » 09 Jul 2021 20:52

What makes it not work is pretty always one of two things: skipping steps in the documentation, or manually messing up the build tree or the build environment.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests