I'm using Debian unstable and the latest release of freevo and have been
trying to recompile LibSDL to work with my DXR3 card.  I've followed the
instructions on the WIKI, but run into a couple of problems.  First of all,
after patching SDL as in the wiki, I got the following error:

SDL_gamma.c:155: error: conflicting types for `SDL_SetGammaRamp'
../../include/SDL_video.h:399: error: previous declaration of
`SDL_SetGammaRamp'
make[3]: *** [SDL_gamma.lo] Error 1
make[3]: Leaving directory `/usr/src/SDL12/src/video'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/SDL12/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/SDL12/src'
make: *** [all-recursive] Error 1

I don't know much about this, but someone who did got me to make the
following changes to SDL_gamma.c:

Index: src/video/SDL_gamma.c
===================================================================
RCS file: /home/sdlweb/libsdl.org/cvs/SDL12/src/video/SDL_gamma.c,v
retrieving revision 1.5
diff -r1.5 SDL_gamma.c
154c154
< int SDL_SetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue)
---
> int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16
*blue)

This made the it compile OK, but when trying to use it with freevo caused
more errors.  After copying libSDL-1.2.so.0 into runtime/dll, I get the
following error:

./runtime/apps/freevo_python: error while loading shared libraries:
libavcodec.so: cannot open shared object file: No such file or directory

I've tried copying in libavcodec.so, but that doesn't work.  I don't know
anything about how to fix this, so could someone please suggest something?  

Thanks,

Richard




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to