Henrique Sabino
Henrique Sabino

Reputation: 545

How to make an allegro 4 game portable

So, I have this game that was my university project during the first period and I wanted to make it portable so it can run on any computer, even if the allegro library and gnu are not installed on them. This is the link to the project git repository: https://github.com/HenriqueSabino/IpProject

The command line I'm using to compile it is the following: gcc -Wl,--subsystem,windows -I libs/include/ -L libs/lib/ -g sources/*.c -o "build/Knights and Demons" -lallegro-4.4.2-monolith-md-debug res/resources.res

But even though the allegro library is in the libs/lib folder, it does not run on other computers, an error messaging saying the code execution cannot proceed because allegro-4.4.2-monolith-md-debug.dll was not found. Reinstalling the program may fix the problem

How can I overcome this error? Thanks for helping

Upvotes: 0

Views: 46

Answers (0)

Related Questions