Compile vlc

This forum is about all development around libVLC.
AyeshaArshad
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Sep 2010 22:10

Compile vlc

Postby AyeshaArshad » 21 Sep 2010 22:07

Hay i'm a student and a beginner.. I need you help in understanding vlc. The working behing vlc..
The first thing i've to understand is how i compile vlc
1. Is it better to compile using fedora or windows?
2. Which method should i start with, Cross-compile with Mingw32 on Linux or Native-compile with MSYS+MINGW?
3. For cross Compile or for native compile method, what kind of software do i required??

Thanks.. help me and if some one have time to explain me vlc, send me email id through personal message, i will contact

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compile vlc

Postby Jean-Baptiste Kempf » 21 Sep 2010 22:40

1. Linux
2. Xcompile
3. Read the wiki
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

AyeshaArshad
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Sep 2010 22:10

Re: Compile vlc

Postby AyeshaArshad » 21 Sep 2010 23:02

sorry but Wiki is truly not graspable for beginners.. :( I spend a lot of time of wiki & i understand only few of things..

gnosygnu
Blank Cone
Blank Cone
Posts: 45
Joined: 06 Jun 2010 16:06

Re: Compile vlc

Postby gnosygnu » 22 Sep 2010 04:28

I hate to say it, but if you find the wiki is not for beginners, then the code isn't going to be any more beginner friendly....

At any rate, I would second j-b's recommendation for Linux. The Windows route has many steps, and can be complicated. I think it may take 60 min to get everything setup, and that's if everything goes correctly. If you do go Windows, I would recommend msys+mingw. Read the wiki -- it's going to be your best source. If you're desperate, you can also refer to following link for more details: viewtopic.php?f=32&t=76483

I've compiled for the first time on Ubuntu tonight. This was incredibly easy compared to the Windows route (especially for a beginner who knows very little about Linux).
If you want a simple series of steps, I would recommend looking at j-b's blog: http://www.jbkempf.com/blog/post/2009/0 ... 5-commands

My version of his steps:

Code: Select all

sudo apt-get build-dep vlc && sudo apt-get install libtool build-essential automake1.10 git-core * unpacked the vlc-1.1.4.tar.gz to a vlc directory (note that his blog is for 1.0) cd vlc && ./bootstrap * skipped sudo apt-get install libxcb-shm0-dev libxcb-xv0-dev libxcb-keysyms1-dev libxcb-randr0-dev (this didn't solve my xcb problem) mkdir build && cd build && ../configure --disable-nls --enable-qt4 --disable-xcb make
Hope this helps

gnosygnu
Blank Cone
Blank Cone
Posts: 45
Joined: 06 Jun 2010 16:06

Re: Compile vlc

Postby gnosygnu » 23 Sep 2010 00:57

After some searching, I figured out I was missing a library (libx11-xcb-dev)
I've reposted the steps below.
Note that I used the 1.1.4 sourcecode tarball. The git is probably easier

j-b (or VLC devs): Is it okay if I modify the wiki to include the sudo apt-get for the libxcb libraries?

Code: Select all

sudo apt-get build-dep vlc && sudo apt-get install libtool build-essential automake1.10 git-core git clone git://git.videolan.org/vlc.git cd vlc && ./bootstrap sudo apt-get install libxcb-shm0-dev libxcb-xv0-dev libxcb-keysyms1-dev libxcb-randr0-dev libx11-xcb-dev mkdir build && cd build && ../configure --disable-nls --enable-qt4 make ./vlc

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compile vlc

Postby Jean-Baptiste Kempf » 23 Sep 2010 14:15

yes
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

gnosygnu
Blank Cone
Blank Cone
Posts: 45
Joined: 06 Jun 2010 16:06

Re: Compile vlc

Postby gnosygnu » 24 Sep 2010 00:34


AyeshaArshad
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Sep 2010 22:10

Re: Compile vlc

Postby AyeshaArshad » 24 Sep 2010 18:03

gnosygnu Thank you so much.. really appreciated

AyeshaArshad
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Sep 2010 22:10

Re: Compile vlc

Postby AyeshaArshad » 24 Sep 2010 18:19

hay i get this msgs. what would i do?

E: Unable to find a source package for vlc
bash: cd: vlc: No such file or directory

AyeshaArshad
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Sep 2010 22:10

Re: Compile vlc

Postby AyeshaArshad » 25 Sep 2010 23:36

first 2 command are succesfully executed but in third command i get this error.. why?

configure.ac:29: warning: macro `AM_SILENT_RULES' not found in library
configure.ac:4648: warning: macro `AM_COND_IF' not found in library
configure.ac:4656: warning: macro `AM_COND_IF' not found in library

and before make coomand i had these error messages

../configure: line 4581: syntax error near unexpected token `yes'
../configure: line 4581: `AM_SILENT_RULES(yes)'

AyeshaArshad
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Sep 2010 22:10

Re: Compile vlc

Postby AyeshaArshad » 26 Sep 2010 00:13

& at last i get this msg

make: *** No rule to make target `vlc'. Stop.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Compile vlc

Postby rogerdpack » 01 Oct 2010 00:55

& at last i get this msg

make: *** No rule to make target `vlc'. Stop.
windows or linux here?


Return to “Development around libVLC”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests