Using Allegro with Anjuta…

Posted on Tue 07 March 2006 in Technology • 1 min read

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

And Anjuta is a popular IDE(Integrated Development Environment) for the GNOME 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

technorati tags: anjuta, allegro, game development, linux