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

Dennis van Amerongen Dennis.vanAmerongen at thomson.net
Wed Mar 5 11:55:12 CET 2008


Hi there.

 

I have some suggestions.

 

Don't use 3.14-1, it seems to break with win32 contribs.. try using
older like 3.13-1

 

Don't rename extracted contrib to /usr/win32, if the contrib was built
with win32-branch then instead you need to update the configure lines
and point to /usr/win32-branch everywhere (CONTRIB_TREE)

 

As for the moc/rcc/uic, I think those were available in some older
contrib packages. Having both moc and moc.exe would conflict (moc
without extention takes precedence) so those had to be deleted for
compiling to win32.

 

- D

 

________________________________

Van: vlc-devel-bounces at videolan.org
[mailto:vlc-devel-bounces at videolan.org] Namens mean while
Verzonden: woensdag 5 maart 2008 10:00
Aan: vlc-devel at videolan.org
Onderwerp: [vlc-devel] Too hard to build vlc in cygwin! Questions.Help
please.

 

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/db644f6b/attachment.html>


More information about the vlc-devel mailing list