Sunday, 15 September 2013

Setting up the allegro library

For example, to use static linking and multi-threaded debug,

Debug environment: \bin
Include: \include
Library: \lib
Preprocessor: ALLEGRO_STATICLINK (w/o inherit)

Additional dependencies (w/o inherit):
shell32.lib
user32.lib
gdi32.lib
ole32.lib
opengl32.lib
winmm.lib
psapi.lib
shlwapi.lib
allegro-5.0.4-static-mt-debug.lib
// other files as needed
allegro_primitives-5.0.4-static-mt-debug.lib
allegro_font-5.0.4-static-mt-debug.lib
allegro_ttf-5.0.4-static-mt-debug.lib
// ...

Example include:
#include <allegro.h>
// other files as needed
#include <allegro5/allegro_primitives.h>
#include <allegro5/allegro_font.h>
#include <allegro5/allegro_ttf.h>
// ...

The allegro library can be found here.

No comments:

Post a Comment