cygwin and vlc 0.9.0, does not run

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.
iClou
Blank Cone
Blank Cone
Posts: 11
Joined: 08 Aug 2007 18:16

cygwin and vlc 0.9.0, does not run

Postby iClou » 27 Aug 2007 22:23

Hi

I successfully compiled vlc 0.9.0 under cygwin.

I used contrib-20070503... and the following config file:

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 \
--disable-optimizations \
--enable-debug \


Make goes successfully but when I call ./vlc.exe nothing happens, no error message, just nothing.
Any idea what's wrong here?

--
Thanks very much for your help.
Best regards,
Mike

adanecito
Cone that earned his stripes
Cone that earned his stripes
Posts: 151
Joined: 06 Mar 2007 17:59

Re: cygwin and vlc 0.9.0, does not run

Postby adanecito » 27 Aug 2007 23:13

How did you get around the gettext-0.16.1 issue? My compile fails because you need that version which is not provided by the cygwin group unless you found a mirror that the cywin setup.exe cna use.

Thx,
-Tony

iClou
Blank Cone
Blank Cone
Posts: 11
Joined: 08 Aug 2007 18:16

Re: cygwin and vlc 0.9.0, does not run

Postby iClou » 28 Aug 2007 07:56

I know that issue, but I was not faced with it.
I used mirror.calvin.edu dist for installing cygwin, I just had to take care about the qt issue which is mentioned in the how-to and it compiled successfully - but as mentioned above - it does not run ;-(
--
Mike

cocquebert
Blank Cone
Blank Cone
Posts: 15
Joined: 14 Mar 2006 09:39

Re: cygwin and vlc 0.9.0, does not run

Postby cocquebert » 28 Aug 2007 09:10

Hi,

I have report this issue.

see this thread viewtopic.php?f=14&t=40246

Wait an answer of VLC team ...

iClou
Blank Cone
Blank Cone
Posts: 11
Joined: 08 Aug 2007 18:16

Re: cygwin and vlc 0.9.0, does not run

Postby iClou » 28 Aug 2007 14:01

Hi

Actually I posted that the compile runs successfully but vlc does not run and does not give any indication of an error.
You are reporting an issue with gettext - are these 2 issues dependent somehow?

--
Thanks for clarification.
Mike

cocquebert
Blank Cone
Blank Cone
Posts: 15
Joined: 14 Mar 2006 09:39

Re: cygwin and vlc 0.9.0, does not run

Postby cocquebert » 28 Aug 2007 14:14

Hi,

First part is about the Gettext issue (fix by get & compile Gettext 1.6.1 separately)
But, in the second part, I have written :
most *.dll files haven't been renamed by change 'cyg' prefix by 'lib' in .libs directory, then the vlc.exe is corrupted ...
Look the size of the vlc.exe ...

cocquebert
Blank Cone
Blank Cone
Posts: 15
Joined: 14 Mar 2006 09:39

Re: cygwin and vlc 0.9.0, does not run

Postby cocquebert » 04 Sep 2007 09:26

HI,

The answer in the mailing-list:

"you need to specify the --host=i686-pc-mingw32 in your configure line to
make sure DLLs are not prefixed with cyg...
regarding vlc.exe, the 'real' vlc.exe is in .libs, the one created at
the root of build dir seems to be a bootstrapper created by libtool.
if you want to test vlc from your build directory, just runs the libtool
created ./vlc script, it will just work.

To debug you can even try

libtool --mode=execute gdb --args ./vlc -vvvvv

as one would on linux.

Damien"

And I add that the debug mode stop with a SIGSEGV :

"Program received signal SIGSEGV, Segmentation fault.
0x6a386ebc in __var_Create (p_this=0x0, psz_name=0x2812993 "avcodec",
i_type=128) at misc/variables.c:157
157 vlc_object_internals_t *p_priv = p_this->p_internals;"

but when I make a win32-package, every thing is OK ...

Trollslayer
Blank Cone
Blank Cone
Posts: 26
Joined: 19 Jun 2007 02:50
Location: Bristol, UK

Re: cygwin and vlc 0.9.0, does not run

Postby Trollslayer » 08 Sep 2007 01:24

Hi

Actually I posted that the compile runs successfully but vlc does not run and does not give any indication of an error.
You are reporting an issue with gettext - are these 2 issues dependent somehow?

--
Thanks for clarification.
Mike
Did you copy the .dll to the same directory as the .exe?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 13 guests