[Openal] Cannot get OpenAl to Compile under Gcc(CodeBlocks)

Daniel PEACOCK dpeacock at creativelabs.com
Wed Feb 25 08:07:55 PST 2009





Exactly right.  You need to include those 2 header files to get the
Microsoft speaker defines for Wave Format Extensible files.  These are
supported in the CWaves class (part of the framework).

Dan
Creative Labs (UK) Ltd.

Notice
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient,  any disclosure,  copying or distribution of the message,  or
any action taken by you in reliance on it,  is prohibited and may be
unlawful.  If you have received this message in error,  please delete it
and contact the sender immediately.  Thank you.

Creative Labs UK Ltd company number 2658256 registered in England and Wales
at Belmont Road, Belmont Place, Maidenhead, Berkshire, SL6 6TB



                                                                           
             angelo                                                        
             <angelo70 at gmail.c                                             
             om>                                                        To 
             Sent by:                  Margin Marh                         
             openal-bounces at op         <marginproduction at gmail.com>        
             ensource.creative                                          cc 
             .com                      openal at opensource.creative.com      
                                                                   Subject 
                                       Re: [Openal] Cannot get OpenAl to   
             02/25/2009 03:51          Compile under Gcc(CodeBlocks)       
             PM                                                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hi Margin,

that sample make use of some ddk includes, that you are missing:

#include <ks.h>
#include <ksmedia.h>

Those require M$ ddk installed i think.

greetings,
Angelo


Margin Marh ha scritto:
> I downloaded the "OpenAL 1.1 SDK", and tried to compile the
> 'playstatic' sample in Codeblocks, i did it by copying over
> 'playstatic.cpp' and the framework files to my project folder and
> added 'OpenAL32.lib','EFX-Util.lib' in "link libraries" and included
> "OpenAL 1.1 SDK\include" in search directories.
> But when i try to compile it i get the following errors :
> "SPEAKER_FRONT_CENTER" was not declared in this scope.
> "SPEAKER_FRONT_LEFT" was not declared in this scope.
> "SPEAKER_FRONT_RIGHT" was not declared in this scope.
> "SPEAKER_BACK_LEFT" was not declared in this scope.
> "SPEAKER_BACK_RIGHT" was not declared in this scope.
> "SPEAKER_LOW_FREQUENCY" was not declared in this scope.
> "SPEAKER_BACK_CENTER" was not declared in this scope.
> "SPEAKER_SIDE_LEFT" was not declared in this scope.
> "SPEAKER_SIDE_RIGHT" was not declared in this scope.
>
> Am i getting this errors cause i am not including something or is it
> something else ?
>
>
>
>
> -Margin
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal
>

_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT000697EA



More information about the Openal mailing list