[vlc-devel] Too hard to build vlc in cygwin! Questions.Help please.

mean while mean.while.mw at gmail.com
Wed Mar 5 09:59:44 CET 2008


I want to build vlc in cygwin, I have tried many versions and packages but
still can't success build one.
I have several questions:
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?
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.
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?

Now I download vlc-0.8.6d.tar.bz2 and
contrib-20070412-win32-0.8.6b-bin-gcc-3.4.5-only.tar.bz2.
I extract the contrib package, the default directory is /usr/win32-branch, I
rename the dir to /usr/win32, then I

use the script below to configure,
-----------------
 CONTRIB_TREE=/usr/win32
 PATH=${CONTRIB_TREE}/bin:$PATH \
 ./bootstrap && \
 CPPFLAGS="-I${CONTRIB_TREE}/include -I${CONTRIB_TREE}/include/ebml" \
 LDFLAGS=-L${CONTRIB_TREE}/lib \
 PKG_CONFIG_LIBDIR=${CONTRIB_TREE}/lib/pkgconfig \
 CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
 ./configure \
     --host=i686-pc-mingw32 \
     --enable-sdl --with-sdl-config-path=${CONTRIB_TREE}/bin --disable-gtk \
     --enable-nls \
     --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
     --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
     --with-wx-config-path=${CONTRIB_TREE}/bin \
     --with-freetype-config-path=${CONTRIB_TREE}/bin \
     --with-fribidi-config-path=${CONTRIB_TREE}/bin \
     --enable-live555 --with-live555-tree=${CONTRIB_TREE}/live.com \
     --enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin \
     --with-xml2-config-path=${CONTRIB_TREE}/bin \
     --with-dvdnav-config-path=${CONTRIB_TREE}/bin \
     --disable-cddax --disable-vcdx --enable-goom \
     --enable-twolame --enable-dvdread \
     --disable-gnomevfs \
     --enable-dca \
     --enable-qt4 \
     --disable-optimizations \
     --enable-debug \
-----------------
then make, but it stoped, said
-----------------
libtool: link: warning: library '/usr/win32/lib/libdvdnav.la' was moved.
libtool: link: warning: library '/usr/win32/lib/libdvdread.la' was moved.
libtool: link: warning: library '/usr/win32/lib/libdvdcss.la' was moved.
libtool: link: warning: library '/usr/win32/lib/libdvdnav.la' was moved.
libtool: link: cannot find the libraray
'/home/videolan/jb/0.8.6-bugifx/extras/contrrib/lib/libdvdread.la'
-----------------
I create a directory '/home/videolan/jb/0.8.6-bugifx/extras/contrrib/' and
make a link to /usr/win32/lib, then I

make again , and encountered error again,
-----------------
In file included from parser/builder.cpp:36:
parser/../src/ft2_font.hpp:60: error: `FT_Glyph' does not name a type
parser/../src/ft2_font.hpp:61: error: `FT_BBox' does not name a type
parser/../src/ft2_font.hpp:74: error: `FT_Library' does not name a type
parser/../src/ft2_font.hpp:76: error: `FT_Face' does not name a type
make[6]: *** [libskins2_plugin_a-builder.o] Error 1
-----------------

What should I do? Why it's so hard to build vlc? Can anyone help me?
Thanks very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080305/02fbfb59/attachment.html>


More information about the vlc-devel mailing list