5

I'm trying to compile a project which is using OpenAL on Mac OS X 10.7. If I would be using XCode I could link the OpenAL.framework, but in the directory

/System/Library/Frameworks/OpenAL.framework/

theres no subdirectory called 'Libraries'. So what should I link against?

jhasse
  • 2,379
  • 1
  • 30
  • 40

1 Answers1

8

This is just a generic answer to link frameworks in the Mac, it should work for OpenAL.framework

% gcc -framework OpenAL -o test test.c

Also see this old GCC article

nacho4d
  • 43,720
  • 45
  • 157
  • 240