|
|
| Install Allegro 4.4 on Mac OS Mountain Lion 10.8.4 |
|
Mateusnunesbm
Member #15,264
August 2013
|
I successfully installed Allegro 5 on my mac,the thing is that i need to install Allegro 4.4,i've been trying for a couple of hours but with no luck. I'm following these steps,but i don't know where i'm failing: 1 - 'git clone git://git.code.sf.net/p/alleg/allegro' 2 - 'git checkout 4.4' 3 - 'cd allegro 4 - 'cmake -G Xcode -DWANT_FRAMEWORKS=1 - .. I following this tutorial,it is for Allegro 5,but as you can see on step 2,i change the version: Can anyone tell some steps to follow,se if a get some lucky! |
|
Arthur Kalliokoski
Second in Command
February 2005
|
Mateusnunesbm said: Can anyone tell some steps to follow Copying and posting the text of any errors or warnings of the above commands would help immensely. They all watch too much MSNBC... they get ideas. |
|
Trent Gamblin
Member #261
April 2000
|
I'm pretty sure 4.4 won't compile on Mountain Lion (or even Lion and maybe earlier) unless you build with an older version of the compiler/SDK. The newer SDKs don't have QuickDraw for one thing and 4.4 needs it.
|
|
Evert
Member #794
November 2000
|
I have some Allegro 4 programs that were compiled on older versions of OS X. They don't work properly on my new Mac running Mountain Lion: the display is messed up and the input appears to be slow or otherwise "off". The thing is: it uses APIs that have been deprecated and unsupported for ages. I never tried compiling Allegro 4 for Mountain Lion, but indications are that even if you did, things would not work properly. |
|
OnlineCop
Member #7,919
October 2006
|
Sadly, the reason I've stopped using Allegro is that 4.x no longer compiled for me after OS X 10.4. I could still run my 10.4-compiled apps, but couldn't compile new ones. That meant that all my projects that were Allegro 4-based ground to a halt almost immediately. Now I just lurk these threads occasionally, but can't help with any of the Allegro 5 questions.
|
|
Evert
Member #794
November 2000
|
Now that I have a functional replacement for Allegro 4's GUI I should really finish my "porting an Allegro 4 game to Allegro 5" guide... The tricky part is that you need to have working (and compilable) code before you start; I ported my game under Snow Leopard (I think, could have been Leopard too). Basically what I did was reduce the dependency on Allegro 4 as much as possible (remove unneeded includes, get rid of Allegro includes for files that only used TRUE/FALSE, get rid of the datafiles), then recompile with Allegro 5 instead of Allegro 4 and one by one eliminate errors due to missing Allegro 4 functions by re-implementing them in Allegro 5. Then once everything compiles again and you can continue with the game you can gradually cleanup the Allegro 4 code until all the compatibility code is gone (I'm not quite there yet, but close). |
|
|