Registry / other / allegro5

allegro5

JSON →
library5.2.10.0vcpkgunverified

Allegro is a cross-platform library mainly aimed at video game and multimedia programming. It handles common, low-level tasks such as creating windows, accepting user input, loading data, drawing images, playing sounds, etc. and generally abstracting away the underlying platform. However, Allegro is not a game engine: you are free to design and structure your program as you like.

vcpkg install allegro5
INSTALL
IMPORT
SIG · ALLEGRO5
A
allegro5
othercppv5.2.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

allegro5/allegro.h
#include <allegro5/allegro.h>

Initialize Allegro, create a window, and display a black screen for 2 seconds

#include <allegro5/allegro.h> #include <iostream> int main() { if (!al_init()) { std::cerr << "Failed to initialize Allegro!" << std::endl; return -1; } ALLEGRO_DISPLAY *display = al_create_display(640, 480); al_clear_to_color(al_map_rgb(0, 0, 0)); al_flip_display(); al_rest(2.0); al_destroy_display(display); return 0; }
Debug
Known issues
gotchaAllegro 5 requires separate addon libraries (e.g., allegro_image, allegro_font) for extended functionality.
fix
Link against additional Allegro addon targets like Allegro::Image, Allegro::Font, etc.
affects: *
Upgrade
Version history
5.2.10.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
46 hits · last 30 days
node
42
Meta
1
OpenAI (training)
1
Resources

No resource links recorded.

allegro5 — pip install allegro5 · libregistry