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

angelo angelo70 at gmail.com
Wed Feb 25 07:51:21 PST 2009


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
>   



More information about the Openal mailing list