[vlc] Re: Compiling vlc under cygwin on Windoz (resent)

Gildas Bazin gbazin at netcourrier.com
Mon Mar 3 09:26:48 CET 2003


On Monday 03 March 2003 08:55, Gilbert Tsang wrote:
> Hello vlc warriors:
>  
> Spent the weekend trying to compile vlc 0.5.1 using cygwin under Win XP.
> Finally compiled successfully but when I invoke the executable, a
> display window pops up, but the mpeg stream only has mono-color and the
> image doubles (as seen on the attached image):
>  
> 
>  
>  
> I obtained MINGW's and w32api runtime through cygwin's setup.exe.
>  
> I've read install.win32 many times, and this is the farthest I can go
> before hitting the wall. So any sort of help is very much appreciated!
>  
> The command line I used is:
>  
> ./configure --enable-directx --disable-mad --disable-dvd
> --disable-waveout ; make
>  
> [ since I'm only studying video compression, so I explicitly ignore
> audio decoding ]
>  

using --enable-directx is not enough to have the directx video outupt 
compiled (And looking at your screenshot, it seems you don't).

You need to download the directx headers: 
http://www.videolan.org/vlc/dx7headers.tgz, uncompress them to some place
and also pass to ./configure the path to these headers 
(--with-directx=/usr/local/dxheaders).

>  
> Questions I have:
>  
> 1)       do I need to go to www.libsdl.org <http://www.libsdl.org/>  to
> download and install SDL explicitly ( I don't think cygwin includes it).
> If so, only runtime library is enough?
> (http://www.libsdl.org/release/SDL-1.2.5a-win32.zip)
>  

You don't need SDL if you use the DirectX plugins.

> 2)       I figure I don't need GTK as I'm ignoring audio - am I off beat
> too much? 
>  

GTK is needed only for the interface plugin (the gui). You can manage 
without it as there also is a simple interactive command line interface 
(the rc plugin).

> 3)       for directx, need to explicitly download and install? If so,
> some URL's are appreciated.
>  

See above.

> 4)       Finally, any insights for the configure options for video-only
> VLC ? :D
>  

The ones you've been using seem to be enough.

Hope this helps,

--
Gildas
-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list