32bit/64bit VLC 2.0.0 compile for Windows to starter
Posted: 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:
So I disabled lua with configure and make. But error has been occurred.
The folder name change "/usr/win32" to "/usr/i586-mingw32msvc" and I should run "change_prefix.sh" in "/usr/i586-mingw32msvc" folder.
I did "make" again and no error.
I tried package for win32 and got "git: command not found" error.
( A git download install & executable file from "http://code.google.com/p/msysgit/downloads/list". )
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?
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:
- Wiki: "http://wiki.videolan.org/Win32CompileMSYSNew"
MinGW: tdm-gcc-4.6.1.exe from "http://sourceforge.net/projects/tdm-gcc ... Installer/"
and installed to c:\MinGW32
Msys: MSYS-1.0.11.exe from "http://sourceforge.net/project/download ... 1.0.11.exe"
and installed to c:\msys\1.0
MsysDTK: msysDTK-1.0.1.exe from "http://sourceforge.net/projects/mingw/f ... DTK-1.0.1/"
Source: vlc-2.0.0.tar.xz from "http://www.videolan.org/vlc/download-sources.html"
and unzip to c:\msys\1.0\home\Administrator\vlc ( /home/Administrator/vlc)
and not used "configure-msys.sh" and "configure-common.sh"
Lua: lua-5.2.0.tar.gz from "http://www.lua.org/ftp/"
Precompiled contribs: contrib-20111017-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2 from "http://people.videolan.org/~jb/Contribs/"
- $ cd vlc
$ cp -v /usr/win32/share/aclocal/* m4/
$ cp -v /usr/share/aclocal/* m4/
$ PATH=/usr/win32/bin:$PATH ./bootstrap
- $ 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 .....
- 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 ...
- $ 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'
...
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
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
- $ 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 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 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
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?