Having 0 Luck with libVLC (Ubuntu)

This forum is about all development around libVLC.
TuxBobble
Blank Cone
Blank Cone
Posts: 10
Joined: 15 May 2010 16:49

Having 0 Luck with libVLC (Ubuntu)

Postby TuxBobble » 27 May 2010 21:19

I'm trying to build the sample application listed at http://wiki.videolan.org/LibVLC_Tutorial in order to start working with LibVLC. That page was listed as the "current" libVLC version. I used apt-get to install libvlc-dev, vlc, vlc build dependencies, etc.

However, I cannot seem to get anywhere when I try to actually compile anything.

I downloaded an archive of the VLC source, as per the instructions on a different wiki post. Trying to link everything together and compile, I get the error:

"too few arguments to function" at various points. This occurs with libvlc_new, libvlc_media_new, libvlc_media_player_new_from_media, and libvlc_media_player_play, libvlc_media_player_stop. That's all it gives, as I'm using the command line right now (to try to replicate the instructions as closely as possible and not introduce IDEs as possible convoluting factors) but I can't figure out why that would be the case.

If anyone has any ideas, please fill me in. I'm generally more of a Windows programmer, but I am comfortable working with the shell if given the right instructions, etc. I need this to work in linux though, so I'd like to get it set up and ready as soon as possible.

Thanks.

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

Re: Having 0 Luck with libVLC (Ubuntu)

Postby Rémi Denis-Courmont » 27 May 2010 21:38

As the page says, this is for "trunk", i.e. the VLC master source code tree, which is currently LibVLC 1.2.0-pre. That will also work with LibVLC 1.1.x.

That definitely won't work with the old and buggy LibVLC 1.0 found in Ubuntu Linux. For that you should follow the older tutorial:
http://wiki.videolan.org/LibVLC_Tutoria ... ibVLC_Code (but again, LibVLC 1.0 is quite buggy)
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TuxBobble
Blank Cone
Blank Cone
Posts: 10
Joined: 15 May 2010 16:49

Re: Having 0 Luck with libVLC (Ubuntu)

Postby TuxBobble » 27 May 2010 22:41

Thanks for the response. I didn't realize that libvlc-dev was outdated in Ubuntu. However, I can't figure out where to actually GET libvlc-dev from--I've seen plenty of documentation, but I have yet to see a place to get trunk versions of libvlc or libvlc-dev(el). If you could point me to the documentation that gives the location of the updated libVLC trunk, I'd gladly follow any instructions I find there, but I can't find a page that gives an actual location for libVLC downloads. (I'm currently using Git to download the VLC 1.2.0 source--is libvlc-dev included within that?)

skarex
New Cone
New Cone
Posts: 2
Joined: 03 Mar 2008 12:51

Re: Having 0 Luck with libVLC (Ubuntu)

Postby skarex » 07 Jun 2010 17:24

Same problem here. I don't get how to obtain the libvlc 1.1 package. Do we download the vlc source.

I mean WHERE exactly. A link perhaps.


Thank you.
Those whom we love are often the most alien to us - Christopher Paolini

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

Re: Having 0 Luck with libVLC (Ubuntu)

Postby Rémi Denis-Courmont » 07 Jun 2010 19:05

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 3 guests