Thanks -- that worked.  Had to also fix soundmgr_openal.cxx.

- JM

----------------------------
Dave Culp wrote:

On Tuesday 19 July 2005 04:35 pm, John Matro wrote:
... how do I do this?

apply this patch

--- openal_test1.cxx    30 Apr 2004 00:44:04 -0000      1.5
+++ openal_test1.cxx    21 Jun 2005 23:03:38 -0000
@@ -39,7 +39,7 @@

int main( int argc, char *argv[] ) {
   // initialize OpenAL
-    alutInit( 0, NULL );
+    alutInit( 0, NULL, NULL);
   alGetError();
   if ( alGetError() != AL_NO_ERROR) {
      SG_LOG( SG_GENERAL, SG_ALERT, "Audio initialization failed!" );

it's not like we are using the context anyway.

--alex--


The newest OpenAL interface uses three parameters in the alutInit() function, whereas it used to use two. Just add the third parameter, using a NULL value. This error occurs during the compiliation of openal_test1.cxx, so open up that file and replace the line:

  alutInit( 0, NULL );

with the line:

  alutInit( 0, NULL, NULL );


Dave

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to