Page 1 of 1

cygwin and vlc 0.9.0, does not run

Posted: 27 Aug 2007 22:23
by iClou
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

Re: cygwin and vlc 0.9.0, does not run

Posted: 27 Aug 2007 23:13
by adanecito
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

Re: cygwin and vlc 0.9.0, does not run

Posted: 28 Aug 2007 07:56
by iClou
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

Re: cygwin and vlc 0.9.0, does not run

Posted: 28 Aug 2007 09:10
by cocquebert
Hi,

I have report this issue.

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

Wait an answer of VLC team ...

Re: cygwin and vlc 0.9.0, does not run

Posted: 28 Aug 2007 14:01
by iClou
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

Re: cygwin and vlc 0.9.0, does not run

Posted: 28 Aug 2007 14:14
by cocquebert
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 ...

Re: cygwin and vlc 0.9.0, does not run

Posted: 04 Sep 2007 09:26
by cocquebert
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 ...

Re: cygwin and vlc 0.9.0, does not run

Posted: 08 Sep 2007 01:24
by Trollslayer
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?