|
|
| Installing Allegro 4 on mac OS |
|
brunosmca
Member #12,949
June 2011
|
Hi guys, I've used Allegro 4 years ago and lots of things changed from that time. Right now I'm trying to install allegro on my mac os, but I read somewhere that allegro 4.4 uses deprecated APIs that are not available in 64 bits. Is that true? And if I install Allegro 5 probably won't be possible to work on the project I worked years ago using Allegro 4, right? Can someone clarify that for me plz? Tnx. |
|
Evert
Member #794
November 2000
|
brunosmca said: Right now I'm trying to install allegro on my mac os, but I read somewhere that allegro 4.4 uses deprecated APIs that are not available in 64 bits. Is that true? Yes. Quote: And if I install Allegro 5 probably won't be possible to work on the project I worked years ago using Allegro 4, right? You'll need to rewrite the code to use Allegro 5 instead of Allegro 4. How much work this is depends on how you've written your code. Most people who do this write some sort of "wrapper" that maps commonly used Allegro 4 function calls onto Allegro 5. Again, how much work this is and how well this works depends very much on your project. |
|
OnlineCop
Member #7,919
October 2006
|
sudo port install allegro +universal When you compile, you have to add -m32 to all of your programs. Then they don't crash and die miserably.
|
|
brunosmca
Member #12,949
June 2011
|
So, I cannot use allegro 4 on my 64bits computer? I mean, there's no 64 bits allegro 4 compile around? I just wanna make couple changes on the project, wasn't planning rewrite it all :/ Also, I would like to ask if any of you knows a step by step tutorial to integrate mac, allegro and eclipse cdt, many years without doing that Many thanks |
|
Evert
Member #794
November 2000
|
brunosmca said: So, I cannot use allegro 4 on my 64bits computer? I mean, there's no 64 bits allegro 4 compile around? I just wanna make couple changes on the project, wasn't planning rewrite it all :/
You can run 32 bit applications perfectly fine on a 64 bit system. So you can compile and run your Allegro program as 32 bit. Quote: Also, I would like to ask if any of you knows a step by step tutorial to integrate mac, allegro and eclipse cdt, many years without doing that It should be much the same as for Linux. At least, there is no real difference in how I use my Mac and how I use my Linux workstation and you can use/link to Allegro the same way in both (sure, on a Mac, you can also use a Framework, but you don't have to). I don't use an IDE though... |
|
brunosmca
Member #12,949
June 2011
|
Many thanks for the answers Evert. I've installed allegro and configured on Windows (running on BootCamp). But now I got this error: "The program can't start because alld42.dll is missing from your computer. Try reinstalling the program to fix this problem." Weird, because I've copied the content of the allegro bin folder (which contains alld42.dll) to system32 folder. Any idea? |
|
Matthew Leverton
Supreme Loser
January 1999
|
brunosmca said: Weird, because I've copied the content of the allegro bin folder (which contains alld42.dll) to system32 folder. Don't do that. That's not even the right place for 32-bit DLLs on 64-bit Windows. Just put that file next to your executable. Or add c:\allegro\bin to your PATH environment variable. |
|
|