How to compile VLC source code on VC++ 2008 express

This forum is about all development around libVLC.
himanshuz.chd
New Cone
New Cone
Posts: 3
Joined: 06 Mar 2011 07:29

How to compile VLC source code on VC++ 2008 express

Postby himanshuz.chd » 06 Mar 2011 07:35

Hi EveryOne,

I am a Software developer . As I am interested in multimedia so I thought of exploring VLC and contribute to its development. I dont know whether its the correct place to post this question or not. If not please redirect me to the correct forum. Anyways, coming to my query :

I have windows OS and visual c++ 2008 express edition. I downloaded the package vlc-1.1.7.tar.bz2 and unzipped it. But I am not able to get how to compile it on VC++ 2008. I saw in a README file in the package that "natively on Windows, using Microsoft Visual Studio. This will not work." but when I googled it I found that people have actually compiled the code on visual studio. So please help me in doing the same(if it is possible) so that I can start understanding the code flow by using breakpoints etc in VC++ 2008.

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

Re: How to compile VLC source code on VC++ 2008 express

Postby Rémi Denis-Courmont » 06 Mar 2011 09:33

Back when this comment was written, Visual C++ did not support the C language standard (ISO C 99) that VLC relies on. I am not aware of any change to this sorry situation.

To compile VLC on VS, you would need to tweak the code all over the place, and crete your own set of makefiles. Way to loose a lot of time.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

himanshuz.chd
New Cone
New Cone
Posts: 3
Joined: 06 Mar 2011 07:29

Re: How to compile VLC source code on VC++ 2008 express

Postby himanshuz.chd » 06 Mar 2011 18:21

So which IDE should I use in order to explore and understand the code of VLC on windows??

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

Re: How to compile VLC source code on VC++ 2008 express

Postby Rémi Denis-Courmont » 07 Mar 2011 18:43

I don't know. Most VLC developers cross-compile from Linux anyway, so there may not be any off-the-shelf solution for your problem...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

himanshuz.chd
New Cone
New Cone
Posts: 3
Joined: 06 Mar 2011 07:29

Re: How to compile VLC source code on VC++ 2008 express

Postby himanshuz.chd » 08 Mar 2011 06:26

Thanks, then I'll try installing Linux :-)

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

Re: How to compile VLC source code on VC++ 2008 express

Postby Jean-Baptiste Kempf » 13 Mar 2011 11:59

I recommend a linux install and QtCreator.
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.

anoopvuppala
Blank Cone
Blank Cone
Posts: 29
Joined: 06 Mar 2011 17:26

Re: How to compile VLC source code on VC++ 2008 express

Postby anoopvuppala » 08 Apr 2011 01:29

hey,

can we do that in Qt creator using windows environment or else only in Linux environment.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 14 guests