[freespace2] compiling src - alc.h error

Bradley Bell btb at icculus.org
Sun Sep 1 15:21:19 EDT 2002


Quoting dave <dave at dchamp.net>:

> Hi... I'm a n00b on this list - just subscribed today.
> 
> 1. Hi
> 2. Is there an archive?
> 

Hi.
Yes: http://opensource.creative.com/

> When I try to compile, it runs for a while, then I get this error:
> 
> [dave at inspy freespace2]$ make all
> 
> <... lots of msgs deleted...>
> 
> g++ -c -o src/sound/ds.o src/sound/ds.cpp -Wall -g -DPLAT_UNIX
> -I/usr/include/SDL -D_REENTRANT -Iinclude/  -Wno-missing-braces
> -Wno-multichar -fsigned-char
> src/sound/ds.cpp: In function `int ds_init (int, int)':
> /usr/include/AL/alc.h:54: too many arguments to function `ALCenum
> alcGetError ()'
> src/sound/ds.cpp:1396: at this point in file
> make: *** [src/sound/ds.o] Error 1
> 

you need a newer version of OpenAL. The cvs version is here:
http://opensource.creative.com/

CVS was down when I tried to get it the other day, but the newest version here
did the trick for me:
http://mirrors.sunsite.dk/lokigames/openal/

-brad



More information about the freespace2 mailing list