Inside Out

Notes on seeking wisdom and crafting software

Using Allegro with Anjuta...

Allegro is a simple game development library. More info on allegro is here

And [Anjuta](http://www.anjuta.org) is a popular IDE(Integrated Development Environment) for the [GNOME](http://www.gnome.org) environment. Well njuta doesn't come with inbuilt support for allegro (as of anjuta 1.2.4) so here is how to setup Anjuta to use the allegro libraries.

Go to Settings -\> Compiler and Linker Settings -\> Options in the Anjuta development UI..Then just add the following code in the Additional Libraries(LDADD) :

>

> -L/usr/local/lib -L/usr/X11R6/lib -Wl,--export-dynamic -lalleg-4.2.0 -lalleg\_unsharable > >

>

I am using allegro 4.2 and anjuta 1.2.4. However you can get the particular string to add in the additional libraries using the command

>

> allegro-config --libs > >

>

in the terminal.

More info on allegro and specific game development tutorials can be found [here](http://www.allegro.cc)

technorati tags: anjuta, allegro, game development, linux