Search code examples
c++xcodeopenal

OpenAL's AL/al.h not found on Mac OS X Lion with XCode 4.1


I've created a project in XCode and added the OpenAL framework. Still the compiler can't find AL/al.h when i try to include it.

Where do I add the include directory for OpenAL?

edit: Sorry I forgot to add: I'm using C/C++


Solution

  • Use this: #import <OpenAL/al.h>