On 02/02/2005 at 09:11 Vivian Meazza wrote:

>I'm having a problem compiling Simgear-cvs under Cygwin. The compiler

> <snip>

>I would suppose that this is a consequence of Erik's latest improvements
to
>the sound. We Cygwin users are still using Norman Vine's OpenAL stuff. 
>
>Any advice on fixing this?

You need the following patch to alc.h (one of the files in Norman's
tarball).  According to Erik this alteration is in OpenAL CVS - I guess we
should update the tarball.

Cheers - Dave

$ diff -u alc.old.h alc.h
--- alc.old.h   2005-01-31 15:20:33.785550400 +0000
+++ alc.h       2005-01-31 15:17:49.299030400 +0000
@@ -17,7 +17,7 @@
   #define ALCAPI __declspec(dllimport)
  #endif

-#ifdef _MSC_VER
+#ifdef _WIN32
  typedef struct ALCdevice_struct ALCdevice;
  typedef struct ALCcontext_struct ALCcontext;
 #endif



This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to