Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Allegro installation

This thread is locked; no one can reply to it. rss feed Print
Allegro installation
Dork270
Member #12,583
February 2011

I am currently trying to install allegro to work with Dev-C++. I downloaded allegro from this link here. From that point, how do I install it?

LennyLen
Member #5,313
December 2004
avatar

If you downloaded the DevPak, then use Dev-C++ to install it.

A better idea however is to stop using Dev-C++ as it's outdated, featureless and full of bugs. When you've decided on a better IDE (I recommend Code::Blocks or Visual Studio Express), come back and ask the question again.

Also, that version of Allegro is also old. There's a newer version of the Allegro 4 branch available, and Allegro 5 is also now available.

Dork270
Member #12,583
February 2011

Ok. I have Visual C++ Express. How should I go about downloading and installing allegro for it?

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Now you have two options :
1)
Download binaries of Allegro 4.2.3 or Allegro 5

2)
Download source code for Allegro 4.4.1.1 or Allegro 5.0.0 and build it yourself.

The only way to get Allegro 4.4 built is to do it yourself, as no one provided binaries for it.

If you're new to programming and building libraries, go with option 1, unless you want the latest version of Allegro 4.

To use binaries, copy the contents of the allegro\lib folder to your compiler's lib folder, and copy the contents of the allegro\include folder to your compiler's include folder. Copy the contents of allegro\bin (the dll's) to your progam's folder or to Windows\system32 to install them on your computer.

Once you have allegro installed, your program will need to link against the allegro libraries (*.lib files). Read your IDE's manual to see how to do this.

AMCerasoli
Member #11,955
May 2010
avatar

If you're using Allegro 5 (last version) MinGW and Code::Block, Check out this link:
C.S
Will allow you to install Allegro using the pre-built binaries, doing Static or Dynamic Link.

Then Check out the Wiki for more info.

Dork270
Member #12,583
February 2011

As a beginner, would it be better for me to download Allegro 4.2.3 or 5?

Matthew Leverton
Supreme Loser
January 1999
avatar

Dork270
Member #12,583
February 2011

I think that I have everything downloaded and installed, but I am having some major trouble with the linking. I found some help here,
but it is not helping much. Again I am new to all of this and I am sorry if I might seem naive to anyone.

Trent Gamblin
Member #261
April 2000
avatar

There are a couple things that could go wrong. It would be easier to diagnose if you pasted the complete error log of your build.

Go to: