Tools: mingw + msys
VLC version: 2.0.1
Reference: Win32CompileMSYSNew(http://wiki.videolan.org/Win32CompileMSYS)
List required resource:
tdm-gcc-4.6.1.exe
mingw-utils-0.3.tar.gz
wget-1.11.4-1-setup.exe
MSYS-1.0.11.exe
msysDTK-1.0.1.exe
Git-1.7.11-preview20120620.exe
autoconf-2.68-1-msys-1.0.17-bin.tar.lzma
automake-1.11.1-1-msys-1.0.13-bin.tar.lzma
libtool-2.4-1-msys-1.0.15-bin.tar.lzma
libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma
perl-5.8.8-1-msys-1.0.17-bin.tar.lzma
m4-1.4.14-1-msys-1.0.13-bin.tar.lzma
glib_2.28.8-1_win32.zip
pkg-config_0.23-3_win32.zip
pkg-config-dev_0.23-3_win32.zip
gettext-runtime_0.18.1.1-2_win32.zip
lua-5.1.4.tar.gz
coreutils-5.97-3-msys-1.0.13-ext.tar.lzma
libiconv-1.14-1-msys-1.0.17-dll-2.tar.lzma
libintl-0.18.1.1-1-msys-1.0.17-dll-8.tar.lzma
My operation:
1. Setup mingw and msys, extract required resource
2. Get precompiled contribs
make prebuilt
there are many tar errors:
…….tar: i586-mingw32msvc/include/pnglibconf.h: Cannot create symlink to `libpng15/p
nglibconf.h': No such file or directory,
tar: i586-mingw32msvc/lib/libcucul.la: Cannot create symlink to `libcaca.la': No
such file or directory
ignore them
when change_prefix.sh
error:
3. Complete Last change: whoami and hostnameFixing up ./change_prefix.sh
mv: cannot move `./change_prefix.sh.tmp' to `./change_prefix.sh': Permission denied
but it continue to execute.
4. Build VLC
5. Bootstrap
6. cp –v /usr/win32/share/aclocal/* m4/
When I build vlc-1.1.11, there is one step:cp: cannot stat ‘/usr/win32/share/aclocal/*’: no such file or directory
download the file http://people.videolan.org/~jb/Contribs ... ly.tar.bz2
extract it to C:\MSys\1.0 but without the /usr path.
But now there is no.
So I copy the data under
C:\msys\1.0\home\Administrator\vlc-2.0.1\contrib\i586-mingw32msvc
to \1.0\win32\
I don’t know it is right or not.
7. Configure
sh extras/package/win32/configure.sh --host=i586-pc-mingw32msvc --disable-nls
I install the latest live555 successfully. But the error is still exist.checking for live555 version 1324598400 or later... no
configure: WARNING: liveMedia is missing or its installed version is too old:
Version 2011.12.23 or later is required to proceed.
You can get an updated one from http://www.live555.com/liveMedia .
configure: error: Update live555 or pass --disable-live555 to disable RTSP input
support.
So I disable live555
Configure again
I install the latest libmad successfully. But the error is still exist.configure: WARNING: "Could not find CrystalHD development headers"
checking mad.h usability... no
checking mad.h presence... no
checking for mad.h... no
configure: error: Could not find libmad on your system: you may get it from htt
://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to d
sable the mad plugin.
So I disable libmad
Configure again
I look for faad.h in msys folderchecking faad.h usability... no
checking faad.h presence... no
checking for faad.h... no
configure: error: Cannot find development headers for libfaad...
It is in 3 directories
/src/win32/include
/win32/include
/Administrator/vlc-2.0.1/contrib/i586-mingw32msvc/include
The error report “can not find faad.h”, I am confused. Why not find?
As described above, I met those errors. I want to know the reason of errors. I think one of my steps make mistake, it is result of latter error.