Page 1 of 1

vlc 2.0.6 build environment

Posted: 08 May 2013 01:15
by bernie.zhao
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!!!

Re: vlc 2.0.6 build environment

Posted: 09 May 2013 05:57
by Ares19851110
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.

Re: vlc 2.0.6 build environment

Posted: 09 May 2013 06:08
by bernie.zhao
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)

Re: vlc 2.0.6 build environment

Posted: 09 May 2013 07:45
by Ares19851110
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).

Re: vlc 2.0.6 build environment

Posted: 05 Jul 2013 15:11
by gepebril
@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.

Re: vlc 2.0.6 build environment

Posted: 08 Jul 2013 09:56
by Ares19851110
@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.