[freespace2] CVS build problem (OpenAL + amd64) and questions

fatty fatty at gsklan.de
Mon Nov 14 14:34:22 EST 2005


Taylor Richards wrote:
> fatty wrote:
> 
>> After the latest changes in OpenAL cvs I finally got FreeSpace 1 
>> working with OpenAL 1.1.
>> I only had to use my simple patch and everything was fine that time :)
> 
> 
> Cool, thanks dude!  I'll get this in CVS tonight. :D
> 
> 
> Taylor
> 

Damn, I again forgot one little thing:


diff -u -r1.26 ds.cpp
--- src/sound/ds.cpp	14 Nov 2005 05:22:08 -0000	1.26
+++ src/sound/ds.cpp	14 Nov 2005 19:26:15 -0000
@@ -1487,7 +1487,7 @@
  // NOTE: A3D and EAX are unused in OpenAL
  	// changed from 22050 to 44100 so that movies don't sound like crap
  #ifdef AL_VERSION_1_1
-	const ALCchar *initStr = (ubyte *)"\'( (sampling-rate 44100 ))";
+	const ALCchar *initStr = (ALCchar *)"\'( (sampling-rate 44100 ))";
  #else
  	ALCubyte *initStr = (ubyte *)"\'( (sampling-rate 44100 ))";
  #endif


I hope that's all now. I was able to compile freespace1 and freespace2 
(though I can't test the second one) successfully.

Sorry for that inconvenience, next time I should double-check everything 
first ;)



More information about the freespace2 mailing list