|
Dlls you must have to run a Allegro program..... |
NightSonic
Member #1,155
April 2001
|
What are the dlls you must have to run a Allegro program? I want to send a cd of a little game I made to my friend but im pretty sure it wont run unless he has certain Dlls can someone tell me what they are? |
Omikron
Member #1,413
February 2001
|
If you are using WIP (the windows version of allegro) you must have some kind of DLL, probably called something_39yadyada.dll or something... If you are using Allegro 3.12 or lower though (DOS version) you don't need any DLLs. |
Bob
Free Market Evangelist
September 2000
|
NightSonic: you need to distribute the Allegro DLL to those whom you give your program to (The Allegro DLL contians all of teh Allegro code). The DLL version should match the one you compiled your program with. So if you're using Allegro 3.9.35, then you must distribute all3935.dll (or ald3935.dll for the debug version). -- |
NightSonic
Member #1,155
April 2001
|
Thanks a lot for you hope. |
Dora D
Member #1,063
March 2001
|
Uh... what's this alleg*.dll -- when I run any allegro prog I never can get any of the windows gfx drivers to work -- NONE OF THEM! Since I've never heard of this alleg*.dll, this may have something to do with my prob, so how do I get it? |
Trumgottist
Member #95
April 2000
|
The dll is made when you compile Allegro, and when you type make install it's copies to your system folder (Normally C:\Windows\System). -- Play my game: Frasse and the Peas of Kejick |
wolfman8k
Member #508
July 2000
|
You can also compile your game with a static link library instead of the dynamic link library. That way the only thing you'll need to distribute is the .exe file and the data files(graphics, sounds, etc).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Dora D
Member #1,063
March 2001
|
k... I found the DLL file. When I give my game to somebody who doesn't have Allegro etc, does the DLL have to be installed to \windows\system? Or can it just be in the same dir as the other game files? |
Trumgottist
Member #95
April 2000
|
It can be in the game directory, but one point with the dll is that if several Allegro games are installed on the same system they can share the dll and reduce disk space if it's located in /windows/system -- Play my game: Frasse and the Peas of Kejick |
sth
Member #538
July 2000
|
I think people should distribute the DLL in their program directories! I had many problems when having the Allegro DLL in win/system because of incompatibilities with the CVS versions! |
Dora D
Member #1,063
March 2001
|
Another thing about putting it in \windows\system is this: |
|