32bit/64bit VLC 2.0.0 compile for Windows to starter

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
jasonshpark
New Cone
New Cone
Posts: 2
Joined: 21 Feb 2012 20:49

32bit/64bit VLC 2.0.0 compile for Windows to starter

Postby jasonshpark » 23 Feb 2012 00:55

Hello,
My target is VLC activeX and Player for 64 bit Windows.
I'm starter for MinGW, MSYS and Cygwin. But I understood what are those.
To understand myself, I've done compiled and packaged with source 1.1.13 (32-bit).
At this moment with VLC 2.0.0., I compiled and packaged to 32 bit VLC by next:
  • $ cd vlc
    $ cp -v /usr/win32/share/aclocal/* m4/
    $ cp -v /usr/share/aclocal/* m4/
    $ PATH=/usr/win32/bin:$PATH ./bootstrap
I got error.
  • $ sh extras/package/win32/configure.sh
    ...
    checking for live555 version 132459800 or later... no
    configure: WARNING: liveMedia is missing or its installed ....
    configure: error: Update live555 or pass .....
So I update contribs package to lastest "i586-mingw32msvc" from "ftp://ftp.videolan.org/pub/videolan/con ... ngw32msvc/" and process again.
  • Download "vlc-contrib-i586-mingw32msvc-20120217.tar.bz2"
    extract to c:\msys\1.0\win32
    $ sh extras/package/win32/configure.sh --with-contrib=/usr/win32
    ...
    libvlc configuration
    -----------------------
    version : 2.0.0
    system : mingw32
    ...
    To build vlc and its plugins, type 'make', or './compile' if you ...
I passed and tried make
  • $ PATH=/usr/win32/bin:$PATH make
    make all-recursive
    ...
    c:\msys\1.0\bin\luac.exe: lua/playlist/appletrailers.lua:70: invalid escape sequence near '\.'
    make[2]: *** [lua/playlist/appletrailers.luac] Error 1
    make[2]: Leaving directory '/home/Administrator/vlc/share'
    ...
I got error.
So I disabled lua with configure and make. But error has been occurred.
  • $ sh extras/package/win32/configure.sh --with-contrib=/usr/win32 --disable-lua
    $ PATH=/usr/win32/bin:$PATH make
    ../libtool: line 6046: cd: @@CONTRIB_PREFIX@@/lib: No such file or directory
    libtool: link: cannot determine absolute directory name of '@@CONTRIB_PREFIX@@/lib'
    make[4]: *** [libvlccore.la] Error 1
    make[4]: Leaving directory '/home/Administrator/vlc/src'
    ...
    make: *** [all] Error 2
I passed configure but make is not.
The folder name change "/usr/win32" to "/usr/i586-mingw32msvc" and I should run "change_prefix.sh" in "/usr/i586-mingw32msvc" folder.
  • $ PATH=/usr/i586-mingw32msvc/bin:$PATH ./bootstrap
    $ sh extras/package/win32/configure.sh --host=i586-mingw32msvc --build=i386-linux --with-contrib=/usr/i586-mingw32msvc --disable-lua --disable-zvbi
    $ PATH=/usr/i586-mingw32msvc/bin:$PATH make
    ...
    make[5]: Entering directory '/home/Administrator/vlc/modules/gui/qt4'
    MOC main_interface.moc.cpp
    /bin/sh: /usr/i586-mingw32msvc/bin/moc: cannot execute.....
    make[5]: *** [main_interface.moc.cpp] Error ..
    ...
    make: *** [all] Error 2
A "/usr/i586-mingw32msvc/bin/moc" file cannot runable. So "/usr/i586-mingw32msvc/bin/moc", "/usr/i586-mingw32msvc/bin/rcc" and "/usr/i586-mingw32msvc/bin/uic" shall delete and "make" again.
  • $ PATH=/usr/i586-mingw32msvc/bin:$PATH make
    ...
    make[5]: Entering directory '/home/Administrator/vlc/modules/gui/qt4'
    MOC main_interface.moc.cpp
    /bin/sh: /usr/i586-mingw32msvc/bin/moc: Bad File number
    make[5]: *** [main_interface.moc.cpp] Error ..
    ...
    make: *** [all] Error 2
I got a "Bad file number" error message. So "moc.exe", "rcc.exe", "uic.exe" files coppied from orignal that those not processed "chage_prefix.sh".
I did "make" again and no error.
I tried package for win32 and got "git: command not found" error.
  • $ make package-win32
    ..
    git clone "git://git.videolan.org/npapi-vlc.git" npapi-vlc
    make: git: Command not found
    make: *** [stamp-npapi-fetch] Error 127
    ...
A "git" should be installed and restart from "./bootstrap" cause I have seen that error when "./bootstrap " was processeed.
( A git download install & executable file from "http://code.google.com/p/msysgit/downloads/list". )
  • $ PATH=/usr/i586-mingw32msvc/bin:$PATH ./bootstrap
    $ sh extras/package/win32/configure.sh --host=i586-mingw32msvc --build=i386-linux --with-contrib=/usr/i586-mingw32msvc --disable-lua --disable-zvbi
    $ PATH=/usr/i586-mingw32msvc/bin:$PATH make
    $ make package-win32
    ...
    /bin/m4: cannot remove temporary directory ..... Directory not empty
    autom4te-2.68: /bin/m4 failed with exit status: 1
    aclocal: /usr/bin/autom4te-2.68 failed with exit status: 1
    autoreconf: aclocal failed with exit status: 1
    make: *** [stamp-npapi-autogen] Error 1
"automake 1.11" is installed already. But I have above error.

I don't know what is correct contirbs version files for 32bit and 64bit for VLC 2.0.0 and what I need modify "configure" option.

Who can help me?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: 32bit/64bit VLC 2.0.0 compile for Windows to starter

Postby VLC_help » 23 Feb 2012 17:44

My suggestion, Install Virtualbox and Ubuntu to it by following
http://wiki.videolan.org/Win32Compile_Under_Fedora (Create and attach the disk drives part)
then
http://wiki.videolan.org/Win32Compile

shenlong
New Cone
New Cone
Posts: 2
Joined: 10 Aug 2011 06:41

Re: 32bit/64bit VLC 2.0.0 compile for Windows to starter

Postby shenlong » 28 Feb 2012 11:47

do this:

dos2unix configure.ac

Problem with end of file!!!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 39 guests