Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Mac os Lion 10.7.1 - allegro 5.0/4.2.x Installation

This thread is locked; no one can reply to it. rss feed Print
Mac os Lion 10.7.1 - allegro 5.0/4.2.x Installation
Jan Hofmann
Member #13,608
October 2011

Hi, i tried to install Allegro with this instructions: http://wiki.allegro.cc/index.php?title=Install_Allegro5_From_SVN/OSX#Building_Allegro_through_Xcode

When I open the Xcode project and and try to include <allegro5/allegro.h> Xcode says that it can't find the file...

I don't really need Xcode. I just need a way to compile allegro programs on
OS X Lion. And is there a way to install allegro 4.2.x?

Any ideas ???

OnlineCop
Member #7,919
October 2006
avatar

I've got Lion. I've had Snow Leopard before it. Allegro 4.x just won't work (32-bit only, 64-bit is not compatibile).

That said, Allegro 4.2.x is easy to install if you use Macports. Just run "port install allegro +universal" to force a 32-bit compatible version. However, games don't run with it... :(

Then again, there are some blogs that talk about steps to install Allegro 5...

Evert
Member #794
November 2000
avatar

Never used XCode so I can't be much help, but it looks like you didn't set up the compiler search path to include the location where you installed Allegro.

Allegro 4.2 will not work, as far as I know. This is not really a 32 vs. 64 bit issue, but a problem with the API Allegro 4 uses: this has been deprecated for a while now, it hasn't been ported to 64 bit and support has been discontinued.

Go to: