PDA

View Full Version : Program dependencies


Jones
2006.07.30, 05:34 PM
Quick question, hope it's not too bothersome... :\

If I happen to compile a program that uses, let's say OpenIL and libpng, for example, would I have to install them on the users machine along with the game, for it to work? Could I just throw them in the programs resources folder or something? Or would a lib actually have to go in /usr/lib?

Thanks!

OneSadCookie
2006.07.30, 06:29 PM
http://onesadcookie.com/~keith/DynamicLinking.html

You should be building libpng as a static library, since the license allows you to do so. Then you don't have to worry about the issue.