Hello!
Today I updated to SDL current (1.2.1) and got the following
error (CVS current from this morning, RedHat 7.0)
/bin/sh ../../libtool --silent --mode=compile c++ -DHAVE_CONFIG_H -I.
-I. -I../../include -g -Wall -Wno-unused -I../../include
-I/usr/X11R6/include -g -O2 -march=i586 -pipe -I/usr/include/SDL
-D_REENTRANT -c renderer.cpp
renderer.cpp: In method `FullscreenRenderer::FullscreenRenderer
(PlayerWidget *, Display *, int, int, bool)':
renderer.cpp:1030: `struct SDL_SysWMinfo' has no member named `info'
renderer.cpp:1032: `struct SDL_SysWMinfo' has no member named `info'
renderer.cpp:1033: `struct SDL_SysWMinfo' has no member named `info'
renderer.cpp:1038: `struct SDL_SysWMinfo' has no member named `info'
renderer.cpp: In method `int FullscreenRenderer::Resize (int &, int
&)':
renderer.cpp:1140: `struct SDL_SysWMinfo' has no member named `info'
renderer.cpp: In method `int FullscreenRenderer::ToggleFullscreen
(bool)':
renderer.cpp:1269: `struct SDL_SysWMinfo' has no member named `info'
renderer.cpp: In method `int FullscreenRenderer::DrawSubtitles (const
char *)':
renderer.cpp:1320: `struct SDL_SysWMinfo' has no member named `info'
renderer.cpp: In method `int YUVRenderer::Resize (int &, int &)':
renderer.cpp:1528: `struct SDL_SysWMinfo' has no member named `info'
make[2]: *** [renderer.lo] Error 1
I'm not sure if this is a problem with SDL or with avifile.
I used the following define at the top of lib/aviplay/renderer.cpp
as a workaround (in the WITHOUT_X section)
#define ENABLE_X11
[If this is not defined (as per default), the
"struct SDL_SysWMinfo" will be a small nothing-to-do-with-X11
container.]
Regards
Andre
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile