<p>I want to build vlc in cygwin, I have tried many versions and packages but still can't success build one.<br>I have several questions:<br>1.The newest version of mingw-runtime in cygwin is 3.14-1, not 3.11-1, is there any difference between them? Should I use 3.11-1?<br>
2.In the INSTALL.win32, it said the contrib libs should put in /usr/win32/, but some contrib-....win32...tar.bz2 packages are extract to /usr/win32-branch/, what the difference between win32/ and win32-branch/ ? should I change the directories in './configure.sh' from /usr/win32/ to /usr/win32-branch/ or create a win32/ link to win32-branch/ or rename win32-branch/ to win32/ ? The last method seems has some problems.<br>
3.Some articles said /usr/win32/bin/moc rcc uic should be deleted, but in some contrb packages I can't find these files in this directory, why?</p>
<p>Now I download vlc-0.8.6d.tar.bz2 and contrib-20070412-win32-0.8.6b-bin-gcc-3.4.5-only.tar.bz2.<br>I extract the contrib package, the default directory is /usr/win32-branch, I rename the dir to /usr/win32, then I </p>
<p>use the script below to configure,<br>-----------------<br> CONTRIB_TREE=/usr/win32<br> PATH=${CONTRIB_TREE}/bin:$PATH \<br> ./bootstrap && \<br> CPPFLAGS="-I${CONTRIB_TREE}/include -I${CONTRIB_TREE}/include/ebml" \<br>
LDFLAGS=-L${CONTRIB_TREE}/lib \<br> PKG_CONFIG_LIBDIR=${CONTRIB_TREE}/lib/pkgconfig \<br> CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \<br> ./configure \<br> --host=i686-pc-mingw32 \<br> --enable-sdl --with-sdl-config-path=${CONTRIB_TREE}/bin --disable-gtk \<br>
--enable-nls \<br> --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \<br> --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \<br> --with-wx-config-path=${CONTRIB_TREE}/bin \<br> --with-freetype-config-path=${CONTRIB_TREE}/bin \<br>
--with-fribidi-config-path=${CONTRIB_TREE}/bin \<br> --enable-live555 --with-live555-tree=${CONTRIB_TREE}/live.com \<br> --enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin \<br> --with-xml2-config-path=${CONTRIB_TREE}/bin \<br>
--with-dvdnav-config-path=${CONTRIB_TREE}/bin \<br> --disable-cddax --disable-vcdx --enable-goom \<br> --enable-twolame --enable-dvdread \<br> --disable-gnomevfs \<br> --enable-dca \<br> --enable-qt4 \<br>
--disable-optimizations \<br> --enable-debug \<br>-----------------<br>then make, but it stoped, said <br>-----------------<br>libtool: link: warning: library '/usr/win32/lib/libdvdnav.la' was moved.<br>libtool: link: warning: library '/usr/win32/lib/libdvdread.la' was moved.<br>
libtool: link: warning: library '/usr/win32/lib/libdvdcss.la' was moved.<br>libtool: link: warning: library '/usr/win32/lib/libdvdnav.la' was moved.<br>libtool: link: cannot find the libraray '/home/videolan/jb/0.8.6-bugifx/extras/contrrib/lib/libdvdread.la'<br>
-----------------<br>I create a directory '/home/videolan/jb/0.8.6-bugifx/extras/contrrib/' and make a link to /usr/win32/lib, then I </p>
<p>make again , and encountered error again,<br>-----------------<br>In file included from parser/builder.cpp:36:<br>parser/../src/ft2_font.hpp:60: error: `FT_Glyph' does not name a type<br>parser/../src/ft2_font.hpp:61: error: `FT_BBox' does not name a type<br>
parser/../src/ft2_font.hpp:74: error: `FT_Library' does not name a type<br>parser/../src/ft2_font.hpp:76: error: `FT_Face' does not name a type<br>make[6]: *** [libskins2_plugin_a-builder.o] Error 1<br>-----------------</p>
<p>What should I do? Why it's so hard to build vlc? Can anyone help me? <br>Thanks very much.</p>