Vivian

Haven't got time to investigate but I would try changing
line 4  alctypes.h

from
#if !defined(_WIN32)
to 
#if !defined(WIN32)

I won't be back online till late tonight

Norman

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Vivian
> Meazza
> Sent: Wednesday, February 02, 2005 5:55 AM
> To: 'FlightGear developers discussions'
> Subject: RE: [Flightgear-devel] Simgear-cvs
> 
> 
> Norman Vine wrote
> 
> 
> > Vivian Meazza writes:
> > >
> > > I'm having a problem compiling Simgear-cvs under Cygwin. The compiler
> > stops
> > > with the following error:
> > >
> > > In file included from soundmgr_openal.hxx:50,
> > >                  from xmlsound.hxx:40,
> > >                  from xmlsound.cxx:38:
> > > /usr/local/include/AL/alc.h:39: error: syntax error before `*' token
> > > /usr/local/include/AL/alc.h:51: error: `ALCcontext' was not declared in
> > this
> > >    scope
> > > /usr/local/include/AL/alc.h:51: error: `alcHandle' was not declared in
> > this
> > >    scope
> > > /usr/local/include/AL/alc.h:51: error: variable `ALCboolean
> > >    alcMakeContextCurrent' definition is marked dllimport.
> > >
> > > Thereafter follows a long list of similar errors.
> > >
> > > 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?
> > 
> > Yes  I ran into this the other day  :-(
> > 
> > I changed a few defines in my "AL/alc.h"  and it seems to compile
> > but I don't have a soundcard on that machine so .....
> > 
> 
> Close, but no coconut yet:
> 
> In file included from soundmgr_openal.cxx:33:
> /usr/local/include/AL/alc.h:21: error: conflicting types for `typedef struct
>    ALCdevice_struct ALCdevice'
> /usr/local/include/AL/alctypes.h:6: error: previous declaration as `typedef
>    struct _AL_device ALCdevice'
> /usr/local/include/AL/alc.h:22: error: conflicting types for `typedef struct
>    ALCcontext_struct ALCcontext'
> /usr/local/include/AL/alctypes.h:8: error: previous declaration as `typedef
>    void ALCcontext'
> 
> Something else needed?
> 
> 
> Thanks for your very rapid response, as usual
> 
> Regards,
> 
> Vivian
> 
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@flightgear.org
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
> 

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

Reply via email to