Game Distribution

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Obsidian
Posts: 17
Joined: Fri Feb 17, 2006 10:42 pm

Game Distribution

Post by Obsidian »

Alright, i'm starting work on a game, using OpenGL with irrlicht (linux), and my question is, if/when i go to distribute the game, i only need to include the irrlicht.a file, right (aside from my individual files), i'm assuming that i won't need to include any other part of the source or anything?
Legality is a horrible barometer for morality.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

you're right, but it's Irrlicht.dll ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Obsidian
Posts: 17
Joined: Fri Feb 17, 2006 10:42 pm

Post by Obsidian »

If i'm distributing to Linux, not windows, i would include the .a, not the .dll right?
Legality is a horrible barometer for morality.
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

By convention, on unix systems a static library will use the .a extension. If you link a static library, you don't need to ship it with your executable. The library is linked directly into the executable, it is not dynamically loaded like a dll on windows or a shared library on unix.

Travis
Obsidian
Posts: 17
Joined: Fri Feb 17, 2006 10:42 pm

Post by Obsidian »

Oh wow, i didn't notice that it was compiled that way. I just checked it... that's pretty awesome. Thanks a lot for pointing that out to me!
Legality is a horrible barometer for morality.
Post Reply