vlc 2.0.6 build environment

This forum is about all development around libVLC.
bernie.zhao
New Cone
New Cone
Posts: 8
Joined: 10 Jan 2009 20:45

vlc 2.0.6 build environment

Postby bernie.zhao » 08 May 2013 01:15

I am following wiki to cross compile 2.0.6 for windows.
The confusion comes from the mingw.
The wiki says
Debian/Ubuntu: run apt-get install gcc-mingw32 mingw32-binutils. Note that at least version 3.17 of Mingw32 is required, which Debian does not provide. You may obtain mingw32-runtime-3.17 here.

But actually the gcc-mingw32 is conflicting with mingw32 and mingw32-binutils.

I tried picking only one, but both failed during make.

Any hint?

Thank you!!!

Ares19851110
Blank Cone
Blank Cone
Posts: 38
Joined: 26 Oct 2011 08:19

Re: vlc 2.0.6 build environment

Postby Ares19851110 » 09 May 2013 05:57

Debian/Ubuntu: run apt-get install gcc-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64-tools
I installed these 3 tools. I didn't install gcc-mingw32 mingw32-binutils.
I also apt-get build-dep vlc.

I can build 2.0.6 successfully.

Thank you.

bernie.zhao
New Cone
New Cone
Posts: 8
Joined: 10 Jan 2009 20:45

Re: vlc 2.0.6 build environment

Postby bernie.zhao » 09 May 2013 06:08

Thank you Ares! Did you also download mingw-w64 3.0?
I tried the 64bit chain but eventually it failed with some undeclared __ms_vsprintf
Searching on mailing list reveals that the mingw 2.x doesn't compile (and 2.x is what you get from apt-get)

Ares19851110
Blank Cone
Blank Cone
Posts: 38
Joined: 26 Oct 2011 08:19

Re: vlc 2.0.6 build environment

Postby Ares19851110 » 09 May 2013 07:45

yes, i apt-get install mingw-w64 and download update package ( http://packages.debian.org/experimental ... 4-i686-dev, sudo dpkg -i mingw-w64-i686-dev_3.0~svn5496-1_all.deb).

gepebril
Blank Cone
Blank Cone
Posts: 76
Joined: 22 Oct 2007 23:31

Re: vlc 2.0.6 build environment

Postby gepebril » 05 Jul 2013 15:11

@Ares19851110
Can you tell me on what platform and what release and what bit version you cross compiled VLC?
I've tried already many variations on Ubuntu 12.04 srv LTS 32 bits without any luck at all.

Also can you tell me how to compile a specific release like 2.0.5/2.0.6 for VLC, instead of the latest sources with Git

Thanks in advance.

Ares19851110
Blank Cone
Blank Cone
Posts: 38
Joined: 26 Oct 2011 08:19

Re: vlc 2.0.6 build environment

Postby Ares19851110 » 08 Jul 2013 09:56

@gepebril
You can download all verison vlc source code in ftp://ftp.videolan.org/pub/videolan/vlc/
I used Ubuntu 12.04 desktop 64 bits.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests