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.
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.
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.
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.
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
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.
The problem though is that the API is deprecated, and there's no telling how long it will continue to work. X-G took a look at writing a new driver for Allegro 4 using a non-deprecated API, and ended up porting the game he was working on to Allegro 5 (with the help of a wrapper) instead. In the long run, compiling in 32 bit mode because Allegro uses a deprecated API that doesn't work in 64 bit mode is not a solution.
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...
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?
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.