PDA

View Full Version : allegro and G++



jasonpeinko
July 30th, 2005, 08:44 PM
how do i compile a code using allegro in G++?
i know it is -lSDL for sdl (i dont quite understand SDL yet so im going back to allegro.

jasonpeinko
July 30th, 2005, 08:57 PM
o yea and what version should i install with synaptic

ios_base
May 1st, 2007, 11:02 PM
Hey, I just got help with compiling source with Allegro 4.2

by adding a few extra flags my code compiled nicely:

g++ file.cpp `allegro-config --cflags` `allegro-config --libs`