Jon Berndt

 
> > In the developers' list archives is the best we have. Cygwin wouldn't
> work
> > at all if it were not for the excellent work by Norman Vine. There's no
> sign
> > of OpenAL being ported to Cygwin at the moment, so this is the best we
> have.
> > We are in constant danger of being left behind.
> >
> > Have you got it to work yet??? I guess I could tarball up my version
> here
> > for you, when I have a bit more time.
> 
> Yes. I now have a FlightGear executable - though I won't have time to try
> it until this
> evening at the earliest.
> 
> I'd like to submit the text below to a FAQ or wherever it should be on the
> FlightGear/SimGear site:
> 
> --- start ---
> 
> For Cygwin users, OpenAL needs to be retrieved from this site:
> 
> ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/openal_cyg.tgz
> 
> I placed this file in the /usr directory and untar'ed it, though some
> place it in the
> /usr/local/ directory tree - which might be more appropriate. Some library
> and dll files
> are untar'ed into your bin/ and lib/ subdirectories.
> 
> Once the files are untar'ed, you must cd to the include/AL/ subdirectory
> and modify all
> the files where "_WIN32" is present (use grep) and change it to simply
> "WIN32" (that is,
> remove the underscore). Also, in alc.h you must change the code at top to
> look like this:
> 
> #ifdef WIN32  <<<<<<<<----------- CHANGE TO THIS
>  #ifdef _OPENAL32LIB
>   #define ALCAPI __declspec(dllexport)
>  #else
>   #define ALCAPI __declspec(dllimport)
>  #endif
> 
> #ifdef WIN32 <<<<<<<<----------- CHANGE TO THIS
>  typedef struct ALCdevice_struct ALCdevice;
>  typedef struct ALCcontext_struct ALCcontext;
> #endif
> 
> Once these changes are made, you should be able to compile simgear.
> 
> --- end ---
> 

Hmm ... I think we ought to correct the tarball first - we shouldn't ask
people to correct it.

V.



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

Reply via email to