[SDL] SDL_Mixer and Ogg Vorbis support

Jordan Wilberding diginux at diginux.net
Tue Aug 14 07:08:01 PDT 2001


I got this same error to before. I think this might be a bug, I am not for 

To fix: 
1.Find the file music_ogg.c in SDL_mixer's library
2.Change the line SDL_OutOfMemory(); to say SDL_SetError("Out of memory");
3.Compile and it should work just fine!

I am not sure what the problem is though, It compiles just fine on Linux with 
OGG support without changing any files.

-Jordan Wilberding

>On Thursday 09 August 2001 01:18, you wrote:
> Okay, I've downloaded all the ogg vorbis stuff from the ogg vorbis CVS,
> compiled SDL (again) from the August 1st CVS snapshot and then tried to
> compile SDL_Mixer with Ogg Vorbis support...
> but
> The first time I compiled it, it worked in the debug version but not the
> release version.
> So I nabbed the CVS version and it doesn't compile in either versions then.
> Linking...
>    Creating library Release/SDL_mixer.lib and object Release/SDL_mixer.exp
> music_ogg.obj : error LNK2001: unresolved external symbol _SDL_Error
> Release/SDL_mixer.dll : fatal error LNK1120: 1 unresolved externals
> Error executing link.exe.
> SDL_mixer.dll - 2 error(s), 0 warning(s)
> And yes it's linked against sdl.lib
> including SDL_error.h doesn't help.
> I'm using VisualC++ 6
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

Jordan Wilberding <diginux at diginux.net>
Diginux.net Sys Admin


"Fight war, not wars,
destroy power, not people"

More information about the SDL mailing list