Brian Keener

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:flightgear-
> [EMAIL PROTECTED] On Behalf Of 
> Sent: 11 May 2006 17:49
> To: [email protected]
> Subject: Re: [Fwd: [Flightgear-users] Getting an OpenAL where when ending
> in Cygwin Compiled version]
> 
> Vivian Meazza wrote:
> > OpenAL compiled at one time under Cygwin, but I tried to update it, and
> now,
> > try as I will, I get errors GRRRR.... The svn seems to be a bit of a
> > shambles for the moment. If/when you get some answers, please let us all
> > know.
> >
> > Meanwhile, I'm using MSVC8, downloaded free from MS. It's a real chore
> to
> > get that set up, but once done it works fine. I'd like to get back to
> Cygwin
> > though.
> 
> Vivian,
> 
> Well I have acquired a little more information on this.  I posted this in
> the
> OpenAL-devel mailing list and got this informaton from Jason Daly:
> 
> > First, let me say I admire your persistence  :-)  Second, I just want to
> > point out that last time I tried OpenAL under Cygwin, it compiled fine,
> > but didn't work.  But, that was a while ago, so you may have better luck
> > than I.
> >
> > To check out openal, try this:
> >
> > svn co http://opensource.creative.com/repos/openal/trunk openal
> >
> > This will get you the latest source tree (the "trunk").  You'll see
> > several subdirectories in the openal directory.  The ones you're
> > interested in are OpenAL-Sample and alut.  Go into the OpenAL-Sample
> > subdirectory.  This contains the code for what was previously called
> > "portable".  Now, you can run "./autogen.sh" and "./configure" (don't
> > worry about the error messages from the ./autogen.sh).  If this works,
> > you should be able to do make and then make install.  Now, go into the
> > alut subdirectory and repeat the ./autogen.sh, ./configure, make, make
> > install process to compile alut.
> >
> > If all that works, you should be good to go.
> 
> I did all these steps and I was able to build Openal and do a Make
> install. I
> was also able to build and make install of Alut but I had to specify
> LDFLAGS="-L/usr/local/lib" which is where I built Openal so it would find
> Openal.  The tests in Alut failed (seem to hang) which is what Jason also
> reported that he thought he remembered was that there was some problem in
> the
> MMSYTEM backend which needed fixing.
> 
> I went ahead and compiled SimGear and FlightGear with the new OpenAL and
> Alut
> but when running Flightgear there was no sound and the Sound Controls in
> Windows seemed  extremely slow.
> 
> When I attempted to compile SimGear it could still not find the Library as
> it
> was looking for openal32 (libopenal32) and the library was named
> libopenal.  I
> simply copied the compiled dll and library from its libopenal.a to
> libopenal32.a and the dll from cygopenal-1.dll to various forms that
> included
> the 32 - ie cygopenal32-1.dll, openal32.dll.... Figured was worth a shot
> but
> had my doubts.
> 
> This allowed SimGear to compile and install and then also FlightGear to
> compile
> and install but when I would run Flightgear it would run but as expected
> no
> sound.
> 
> Sound controls in windows at that point (volume etc) were extremely slow
> to
> respond.
> 
> I checked - cygwin does have an mmsystem.h file (part of the Win32api) and
> it
> is included in the alc_backend source.  My knowledge beyond this is pretty
> limited.
> 
> Wish I knew more about MMSYSTEM backend but alas.
> 
> bk
> 

Yes, I'd worked that all out for myself, but my experience was as yours -
OpenAL compiles but Alut doesn't. (That's the short version :-)). Thanks for
all that feedback. Are they going to fix it? Otherwise we lose our
multiplatform ethos. 

Meanwhile, we can still use the earlier, pre-cooked, OpenAl stuff, or use
MCVS8 ( which compiled a while ago, and I'm not going to update and break
it).

Thanks again

V. 



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Flightgear-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to