From 323412dd23bb414c8885ee545a5ca0aaa3a40e84 Mon Sep 17 00:00:00 2001 From: Harris Brakmic Date: Sun, 6 Oct 2019 13:02:01 +0200 Subject: [PATCH] Examples: Allegro5: updated build instructions for macOS --- examples/example_allegro5/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/example_allegro5/README.md b/examples/example_allegro5/README.md index 5ef455576..10d9d6e94 100644 --- a/examples/example_allegro5/README.md +++ b/examples/example_allegro5/README.md @@ -9,12 +9,14 @@ Note that the back-end supports _BOTH_ 16-bit and 32-bit indices, but 32-bit ind # How to Build -### On Ubuntu 14.04+ +### On Ubuntu 14.04+ and macOS ```bash -g++ -DIMGUI_USER_CONFIG=\"examples/example_allegro5/imconfig_allegro5.h\" -I .. -I ../.. main.cpp ../imgui_impl_allegro5.cpp ../../imgui*.cpp -lallegro -lallegro_primitives -o allegro5_example +g++ -DIMGUI_USER_CONFIG=\"examples/example_allegro5/imconfig_allegro5.h\" -I .. -I ../.. main.cpp ../imgui_impl_allegro5.cpp ../../imgui*.cpp -lallegro -lallegro_main -lallegro_primitives -o allegro5_example ``` +On macOS, install Allegro with homebrew: `brew install allegro`. + ### On Windows with Visual Studio's CLI You may install Allegro using vcpkg: