Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Question about dll requirement

This thread is locked; no one can reply to it. rss feed Print
Question about dll requirement
Space cpp
Member #16,322
May 2016

Hello, I have been using allegro 5.0.10 for a long time and today I decided to give a try on a newer version.
I downloaded allegro-mingw-gcc5.3.0-x86-dynamic-5.2.1.1 from the main site, and after some trial and error I got my game compiling on this new version.
But one thing is bothering me: with the previous version I only had to include allegro-5.0.10-monolith-mt.dll in the game folder in order to run it, and now the executable asks for lots of dll files even though the old and new executable sizes are nearly the same.
Is there anything I can do to make it run with just 1 dll?

Edit:
Just found out: I was linking with all .a files rather than just the monolith one. However, it still asks for libgcc_s_dw2-1.dll and libstdc++-6.dll.

----------
My games

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

SiegeLord
Member #7,827
October 2006
avatar

You'll want to download the zip file with 'static' in its name, and then additionally use the flags Edgar mentioned.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Go to: