[vlc] Re: Compiling vlc under cygwin on Windoz (resent)
Gilbert Tsang
gtsang at attbi.com
Mon Mar 3 10:37:11 CET 2003
Thanks Gildas for your informative reply, really appreciate it!
Just got the following error with DirectX headers installed (see the
lengthy error below).
Does DirectX require audio by default? If so, anyway to just include
DirectX video? I guess the bottom line is, if directx need compulsory
audio enabled, I'll install whatever packages required.
Thanks again for any pointers you may have on this (and the useful
configure options :)
Best regards,
Gilbert.
--------------------------------------------------------------
In file included from /usr/local/dxheaders/d3dtypes.h:16,
from /usr/local/dxheaders/dsound.h:13,
from modules/audio_output/directx.c:39:
/usr/local/dxheaders/ddraw.h:14: warning: ignoring #pragma warning
In file included from /usr/local/dxheaders/d3dtypes.h:16,
from /usr/local/dxheaders/dsound.h:13,
from modules/audio_output/directx.c:39:
/usr/local/dxheaders/ddraw.h:5552: warning: ignoring #pragma warning
In file included from /usr/local/dxheaders/dsound.h:13,
from modules/audio_output/directx.c:39:
/usr/local/dxheaders/d3dtypes.h:22: warning: ignoring #pragma warning
/usr/local/dxheaders/d3dtypes.h:1813: warning: ignoring #pragma warning
In file included from modules/audio_output/directx.c:39:
/usr/local/dxheaders/dsound.h:61: warning: redefinition of
`LPCWAVEFORMATEX'
/usr/include/w32api/mmsystem.h:1018: warning: `LPCWAVEFORMATEX'
previously decla
red here
modules/audio_output/directx.c:54: warning: `IID_IDirectSoundNotify'
initialized
and declared `extern'
modules/audio_output/directx.c: In function `OpenAudio':
modules/audio_output/directx.c:194: `VLC_THREAD_PRIORITY_HIGHEST'
undeclared (fi
rst use in this function)
modules/audio_output/directx.c:194: (Each undeclared identifier is
reported only
once
modules/audio_output/directx.c:194: for each function it appears in.)
modules/audio_output/directx.c: In function
`DirectxCreateSecondaryBuffer':
modules/audio_output/directx.c:420: warning: long int format, int arg
(arg 5)
make[2]: ***
[modules/audio_output/modules_audio_output_libaout_directx_plugin_a
-directx.o] Error 1
make[2]: Leaving directory `/cygdrive/f/scu/videolan/vlc-0.5.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/f/scu/videolan/vlc-0.5.1'
make: *** [all] Error 2
Gilb at gilbert /cygdrive/f/scu/videolan/vlc-0.5.1
$ pwd
/cygdrive/f/scu/videolan/vlc-0.5.1
Gilb at gilbert /cygdrive/f/scu/videolan/vlc-0.5.1
$ find . -name '*.h' -exec grep -H VLC_THREAD_PRIORITY_HIGHEST {} \;
./include/vlc_threads.h:# define VLC_THREAD_PRIORITY_HIGHEST \
Gilb at gilbert /cygdrive/f/scu/videolan/vlc-0.5.1
$
-----Original Message-----
From: vlc-bounce at videolan.org [mailto:vlc-bounce at videolan.org] On Behalf
Of Gildas Bazin
Sent: Monday, March 03, 2003 12:27 AM
To: vlc at videolan.org
Subject: [vlc] Re: Compiling vlc under cygwin on Windoz (resent)
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>
--
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