vlc media player cygwin problem

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
luting
New Cone
New Cone
Posts: 2
Joined: 25 Apr 2007 19:26

vlc media player cygwin problem

Postby luting » 25 Apr 2007 19:36

I am getting the following problem when I am building vlc media player. Could any expert help? Thanks ahead.

*** Warning: This system can not link to static lib archive /usr/win32/lib/libgcrypt.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
grep: /home/videolan/jb/vlc-trunk-0.90/extras/contrib/lib/libgpg-error.la: No such file or directory
/usr/bin/sed: can't read /home/videolan/jb/vlc-trunk-0.90/extras/contrib/lib/libgpg-error.la: No such file or directory
libtool: link: `/home/videolan/jb/vlc-trunk-0.90/extras/contrib/lib/libgpg-error.la' is not a valid libtool archive
make[2]: *** [libvlc_srtp.la] Error 1
make[2]: Leaving directory `/cygdrive/c/development/vlc/vlc-trunk/libs/srtp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/development/vlc/vlc-trunk'
make: *** [all] Error 2
:( :(

Here is configure-vlc.sh I am using:

./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk \
--enable-nls \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-gnomevfs \
--enable-debug \

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 25 Apr 2007 20:51

Yes. Use a newer contrib.
people.videolan.org/~jb/
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Paul Yarkov
New Cone
New Cone
Posts: 5
Joined: 17 Jan 2007 16:11

Postby Paul Yarkov » 01 May 2007 06:27

Yes. Use a newer contrib.
people.videolan.org/~jb/
I had the same problem. Yes, using a new contrib help to fix libgcrypt.la error, but now I am getting the following problem:

Making all in qt4
make[5]: Entering directory `/home/Administrator/trunk/modules/gui/qt4'
/usr/win32/bin/moc -o main_interface.moc.cpp main_interface.hpp
/usr/win32/bin/moc: /usr/win32/bin/moc: cannot execute binary file
make[5]: *** [main_interface.moc.cpp] Error 126
make[5]: Leaving directory `/home/Administrator/trunk/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Administrator/trunk/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/Administrator/trunk/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Administrator/trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/trunk'
make: *** [all] Error 2

Can you help to fix this error? Thanks a lot.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 01 May 2007 11:34

yes, delete moc/uic/rcc files in bin/
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Paul Yarkov
New Cone
New Cone
Posts: 5
Joined: 17 Jan 2007 16:11

Postby Paul Yarkov » 02 May 2007 10:32

yes, delete moc/uic/rcc files in bin/
It is works :) Thanks a lot. :)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests