- Online Community Forums » Installation, Setup & Configuration » Allegro build error

This thread is locked; no one can reply to it. rss feed Print
Allegro build error
Member #16,692
June 2017

Hi there.
Following this guide,_Xcode_5,_dylib
I come to an error at step 5.
Any help/advice would be greatly appreciated

1. [done] git clone
2. [done] cd allegro

3. [skipped] git checkout 5.0

4. [done] cmake -G Xcode - ..

5. [failed] xcodebuild

allegro5/addons/audio/openal.c:12:10: fatal error: 'OpenAL/al.h' file not found
#include <OpenAL/al.h>

Additional information 


The following build commands failed:
	CompileC build/addons/audio/ addons/audio/openal.c normal x86_64 c

Member #12,293
October 2010

You are missing the OpenAL dependency. Allegro's addons need quite some dependencies to do their work (it is mentioned in the article you use).

You could get these dependencies via homebrew, for example. But then you could also just install Allegro5 itself via homebrew ("allegro" formula), without compiling yourself.

Unfortunately, the wiki does not seem to be up-to-date with this, sorry.

Edgar Reynaldo
Member #8,592
May 2007

Member #16,692
June 2017

Polybios - just used the brew install
all is good

Member #12,293
October 2010

The wiki is open for editing. Feel free to fix it if you know what you're talking about. ;)

I still don't have a Google account and I currently don't intend to get one.

Go to: