failed to win32 cross compile VLC 2.0.1 on ubunto

*nix specific usage questions
captainst
Blank Cone
Blank Cone
Posts: 24
Joined: 01 Sep 2011 16:43

failed to win32 cross compile VLC 2.0.1 on ubunto

Postby captainst » 01 Oct 2012 20:28

I am using newly installed Ubuntu-12.04.1 installed in the VMPlayer.

I followed the steps described in this page:
http://wiki.videolan.org/Win32Compile

I installed the gcc-mingw32 with

Code: Select all

apt-get install gcc-mingw32
but without

Code: Select all

mingw32-binutils
since the later one complains that the gcc w64 tools need to be installed.

I downloaded the VLC 2.0.1 source from the archive.

The first steps were smooth, until I ran the command to configure

Code: Select all

$ ../extras/package/win32/configure.sh --host=i586-mingw32msvc
First, it complains that libmad is not found. I installed the libmad0 and libmad0-dev, no change. I downloaded the libmad-0.15.1.b, compiled and installed as default (to /usr/local/lib), also

Code: Select all

export LD_LIBRARY_PATH = /usr/local/lib
, nothing changed. The libmad libs are right inside the /usr/local/lib and I even copied them to the /usr/lib but still not recognized.

Then I used --disable-mad to move-on, until the error "cannot find development headers for libfaad". I installed the libfaad-dev from software center, still complain on the same error.

Has anyone successfully made win32 cross compile with VLC 2.0.x ? Many thanks !

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

Re: failed to win32 cross compile VLC 2.0.1 on ubunto

Postby Rémi Denis-Courmont » 01 Oct 2012 21:19

You skipped buils steps, build failed. No surprises.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

captainst
Blank Cone
Blank Cone
Posts: 24
Joined: 01 Sep 2011 16:43

Re: failed to win32 cross compile VLC 2.0.1 on ubunto

Postby captainst » 02 Oct 2012 03:41

You skipped buils steps, build failed. No surprises.
Thank you. I want to add that I did the contrib prebuilt steps exactly as the wiki documents, no error in those steps.

You mean I skipped the "mingw32-binutils" ?

Actually if I did

Code: Select all

sudo apt-get install gcc-mingw32 mingw32-binutils
together, I got the error message that gcc, g++ and fortran w64 were not installed. Even if I installed these tools, it reported the same error.

If I did

Code: Select all

sudo apt-get install gcc-mingw32
and

Code: Select all

sudo apt-get install mingw32-binutils
seperatedly, then the binutils install said to remove the firstly installed gcc-mingw32 ...

So how to install them both ? Thanks again.

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: failed to win32 cross compile VLC 2.0.1 on ubunto

Postby Jean-Baptiste Kempf » 02 Oct 2012 11:59

because you did not do the contribs part correctly.
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.

captainst
Blank Cone
Blank Cone
Posts: 24
Joined: 01 Sep 2011 16:43

Re: failed to win32 cross compile VLC 2.0.1 on ubunto

Postby captainst » 02 Oct 2012 14:33

because you did not do the contribs part correctly.
Thank you. But the compiler installation comes before the installation of contribs.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: failed to win32 cross compile VLC 2.0.1 on ubunto

Postby edwardw » 04 Oct 2012 21:29

Contribs refers to this, please read it: http://wiki.videolan.org/Win32Compile#P ... _libraries


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests