[freespace2] compiling src - alc.h error
tigital
tigital at mac.com
Sun Sep 1 13:05:36 EDT 2002
>On Sun, 1 Sep 2002, Florian Westphal wrote:
>
>> dave <dave at dchamp.net> wrote:
>> > 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
>> >
>> > ...maybe I have an incompatible version of some of the libraries?
>> >
>> > Here's the versions of the libraries I have installed:
>>
>> What Version of gcc do you use?
>> I compiled freespace2 succesfully on gcc 3.0.4, 3.1 and 3.1.1.
>> Don't know about other versions.
>>
>> Florian
>
>Hmm... seems to me that the error is complaining about too many arguments
>being passed to OpenAL (alc.h)... but here's what I have for gcc:
>
>[dave at inspy dave]$ rpm -qa | grep -i gcc
>gcc-cpp-2.96-0.76mdk
>libgcc3.0-3.0.4-2mdk
>gcc-2.96-0.76mdk
>gcc-c++-2.96-0.76mdk
>
>-dc
...I had a similar problem on OS X, which was due to the fact that I
had been working with an older version of OpenAL...all those problems
went away when I found/grabbed the cvs version...
l8r,
jamie
More information about the freespace2
mailing list