Hi,
I’m currently working on porting a Linux SDL-using program to Windows
(using Mingw32). Everything is going smoothly except one thing: while
linking, I get the message:
undefined reference to SDL_MixAudio()
When I add the /src/audio/SDL_mixer.o file to the list of object files
everything links OK. Did I have to specify some option or anything to
include SDL_mixer.o in the libraries?
I’m using SDL 1.1.2, by the way.
Thanks,
Willem Jan Palenstijn
Hi,
I’m currently working on porting a Linux SDL-using program to Windows
(using Mingw32). Everything is going smoothly except one thing: while
linking, I get the message:
undefined reference to SDL_MixAudio()
When I add the /src/audio/SDL_mixer.o file to the list of object files
everything links OK. Did I have to specify some option or anything to
include SDL_mixer.o in the libraries?
Are you using the configure scripts, or the mingw32 makefiles posted
recently?
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Sam Lantinga wrote:
Hi,
I’m currently working on porting a Linux SDL-using program to Windows
(using Mingw32). Everything is going smoothly except one thing: while
linking, I get the message:
undefined reference to SDL_MixAudio()
When I add the /src/audio/SDL_mixer.o file to the list of object files
everything links OK. Did I have to specify some option or anything to
include SDL_mixer.o in the libraries?
Are you using the configure scripts, or the mingw32 makefiles posted
recently?
The configure scripts. (right after the 1.1.2 release)
-Willem Jan
Willem Jan Palenstijn wrote:
Sam Lantinga wrote:
Hi,
I’m currently working on porting a Linux SDL-using program to Windows
(using Mingw32). Everything is going smoothly except one thing: while
linking, I get the message:
undefined reference to SDL_MixAudio()
When I add the /src/audio/SDL_mixer.o file to the list of object files
everything links OK. Did I have to specify some option or anything to
include SDL_mixer.o in the libraries?
Are you using the configure scripts, or the mingw32 makefiles posted
recently?
The configure scripts. (right after the 1.1.2 release)
I’m trying the Makefile right now, by the way…
-Willem Jan
Willem Jan Palenstijn wrote:
Willem Jan Palenstijn wrote:
Sam Lantinga wrote:
Hi,
I’m currently working on porting a Linux SDL-using program to Windows
(using Mingw32). Everything is going smoothly except one thing: while
linking, I get the message:
undefined reference to SDL_MixAudio()
When I add the /src/audio/SDL_mixer.o file to the list of object files
everything links OK. Did I have to specify some option or anything to
include SDL_mixer.o in the libraries?
Are you using the configure scripts, or the mingw32 makefiles posted
recently?
The configure scripts. (right after the 1.1.2 release)
I’m trying the Makefile right now, by the way…
Hmmm, I can’t get it to compile right away. It can’t find the file
’video/SDL_yuv.c’ (which isn’t surprising; it isn’t there 
Which version of SDL is that Makefile for, btw?
(The one posted by Ben Allfree 16 hours ago)
Thanks,
Willem Jan
Try the latest SDL CVS snapshot:
http://www.devolution.com/~slouken/SDL/cvs.html
See ya,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Hmmm, I can’t get it to compile right away. It can’t find the file
’video/SDL_yuv.c’ (which isn’t surprising; it isn’t there 
Which version of SDL is that Makefile for, btw?
(The one posted by Ben Allfree 16 hours ago)
Hmm, I think I have the latest CVS version. I’m still new to CVS, but I followed
the instructions on the SDL CVS page as exactly as I could (that is, devel_1_1_0).
Ben
Sam Lantinga wrote:
Try the latest SDL CVS snapshot:
http://www.devolution.com/~slouken/SDL/cvs.html
Ok, I’ll try that.
Thanks for the fast help!
Willem Jan