Page 1 of 1

I need some help with miniprojects,i'm a new programmer,

Posted: 24 Aug 2009 01:44
by marcel.tella
Hi!
At first, sorry for my bad english, i'm working for write it better.

I'm a student who tries to collaborate with videolan.I try to collaborate doing the best i can do. I've programmed in C++ during this year, and I try to do any miniproject of VLC.

I've read a lot, but i have no idea of the steps i have to follow to start building VLC.

Can you help me please??

Thanks!!Reggards!

Marcel

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 24 Aug 2009 10:17
by Jean-Baptiste Kempf
OS ?

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 07 Sep 2009 15:00
by marcel.tella
Linux and Windows xp in different computers

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 07 Sep 2009 23:09
by Jean-Baptiste Kempf
Cool, compile VLC on Linux (debian or ubuntu prefered :D) and tell us when you are done :D

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 08 Sep 2009 11:31
by marcel.tella
I've already comliped VLC. I've compiled it with this commands:

wget http://download.videolan.org/pub/videol ... .6b.tar.gz

Then, i've moved vlc to my desktop.

cd Desktop

tar xvfz vlc-0.8.6b.tar.gz


cd vlc-0.8.6.tar.gz


sudo apt-get build-dep vlc


Now, What I have to do?


Thanks!!

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 08 Sep 2009 18:03
by Jean-Baptiste Kempf
no, please use 1.1-git

Git

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 09 Sep 2009 13:08
by marcel.tella
What? what is 1.1-git?

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 09 Sep 2009 19:17
by MCyr
You need to get git which is a revision control tool. Something like

Code: Select all

sudo apt-get git
should do that for you.

Then once git is installed, you need to clone the vlc repository.
Issue

Code: Select all

git clone git://git.videolan.org/vlc.git
in the directory where you want to hold the vlc source tree.

You now have a clone of the whole source of VLC. Next you need bootstrap, configure and compile the whole thing. Here's a quick overview of the commands but you might need to tweak the configure parameters to suit your system/build needs.

Code: Select all

cd vlc ./bootstrap ./configure make sudo make install
Depending on your system and architecture, your configure line might change as I said. Check ./configure --help for all the details. For example, on my Fedora 11 on an AMD64 arch, I mostly wanted libvlc and modules, not caring about the VLC gui, my configure was

Code: Select all

./configure --prefix=/usr --libdir=/usr/lib64 --disable-qt4 --disable-skins2
PS. Now that you have git, you can keep the source tree in sync with the "master" tree. In the source tree folder, just do a

Code: Select all

git pull
and reconfigure/recompile.

Cheers,
Hope you have fun messing around with VLC.

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 17 Sep 2009 21:30
by marcel.tella
All right until the command ./configure, this command is invalid in my Ubuntu 9.04 Jaunty Jackalope.

I've entered in ~/vlc directory, and I've seen some files whitch include the word config:vlc-config, configure.ac, I think that this last file is that i want to compile, but i don't know.

Could someone tell me what I have to do?

Thanks!!
Regards!

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 18 Sep 2009 11:47
by Jean-Baptiste Kempf
make?

Re: I need some help with miniprojects,i'm a new programmer,

Posted: 21 Sep 2009 20:03
by marcel.tella
Thanks for all, my problems had been solved compiling some packages which VLC needs.