Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » How to export allegro project properly

This thread is locked; no one can reply to it. rss feed Print
How to export allegro project properly
Lox Chatterbox
Member #20,176
May 2021

I've been working on a school project using codeblocks and Allegro 4 on windows (mingw).

I'm wondering how to properly extract my project as an executable that works without any issues, without using Codeblocks. Do i need to do anything specific with alleg44.dll? (it's installed on my computer, not in the project file).

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

You'll need to package all resources the program uses together with it.

As for linking, you can link dynamically, and include the dlls with the program, or you can link statically, and they will be included inside the executable.

If you link statically, here is the list of libraries you need to link :


-static
-lalleggl
-ljpgalleg
-lloadpng
-llogg
-lalleg
-lvorbis
-lvorbisenc
-lvorbisfile
-logg
-lpng16
-lzlibstatic

-lkernel32
-luser32
-lgdi32
-lcomdlg32
-lole32
-ldinput
-lddraw
-ldxguid
-lwinmm
-ldsound

-static-libstdc++
-static-libgcc

Lox Chatterbox
Member #20,176
May 2021

Thanks!

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Go to: