Back to the Vavoom Forum Archives


Forum

[Closed] Linux and SDL

Thu, 17 Jan 2002 04:38:42

Anonymous

I'm not sure whether this is the right forum for this question, but what the heck...<br><br>I cannon compile the SDL version on Linux. I'm using Slackware 8.0, gcc 2.95.3 and this is the compiler message:<br><br>source/s_sdl.cpp: In function `void S_StartSound(int, const TVec &, const TVec &, int, int, int)':<br>source/s_sdl.cpp:405: implicit declaration of function `int Mix_LoadRAW_RW(...)'source/s_sdl.cpp:405: assignment to `Mix_Chunk *' from `int' lacks a cast<br>source/s_sdl.cpp:408: implicit declaration of function `int Mix_LoadChannel(...)'<br>source/s_sdl.cpp:428: implicit declaration of function `int Mix_Play(...)'<br>source/s_sdl.cpp: In function `void S_PlayTillDone(char *)':<br>source/s_sdl.cpp:468: assignment to `Mix_Chunk *' from `int' lacks a cast<br>make: *** [obj/s_sdl.o] Error 1<br><br>I also have SDL-1.2.3 and SDL_mixer-1.2.1.<br><br>
Thu, 17 Jan 2002 20:28:34

Mysterial

I get the same problem. It compiles fine if I use Allegro, but SDL has better 3d acceleration so I'd rather use that.<br><br>It seems unlikely that the problem is a difference in SDL version, since a minor version doesn't usually change function names, so that is probably not the problem.<br><br>Has anyone tried compiling with SDL in Windows? Does this problem occur then?
Fri, 18 Jan 2002 04:05:19

Janis Legzdinsh

The SDL port was done by one of the users and I gues it works for him. I was too busy to test it myself. Try to contact with author (you will find his e-mail in the Vavoom homepage on the new page).
Fri, 18 Jan 2002 05:32:48

Carsten_Schmidt

hello out there,<br><br>i have to apologize for the  trouble i caused with vavoom-sdl.<br><br>however i needed to patch the SDL_mixer to implement 2-3 functions<br>in order not to blow the vavoom source code with stuff that does not need to<br>reside in vavoom's sound driver. if you are familiar with other doom ports you<br>will see that they suffer from the same problem: loading raw sounds under SDL.<br>as an example you can look into prboom to grasp their solution.<br><br>if you would like to get vavoom-sdl running please check:<br><br>http://www.tu-bs.de/~y0011145/<br><br>i will email the author of SDL_mixer to add these functions into future releases.<br><br>again i am sorry, but i never thought that there is someone actually trying to get sdl to work.<br><br>anyway thanks!!!<br><br>bye,<br>   carsten<br>

Back to the Vavoom Forum Archives