This is probably a very silly question but Google has failed in answering me.
Let's say I build some kind of program using X media library (SDL/SFML/Allegro/etc.) If I want someone else to be able to use this program, do they need to have this library installed?
If not, how can I build my program so it can be run independently?
All right. I attempted running my SFML app on someone elses computer and it had all of the basic DLLs (system/window/graphics) that I use in building it but then it complained because they did not have a different DLL (something like lib-gcc32, I don't remember all of it but it did have gcc in it o.O)
They need all the DLLs your program uses. There is probably a way to figure out your program's dependencies somehow. Another option is statically linking everything you can, which basically puts the libraries in the executable so the user doesn't need the DLLs, but as a result the executable is larger.
Sorry for the delayed response (Enter: Finals season) I appreciate the info.
Now what I'm wondering is this: let's assume I'm only going to be putting this on other peoples computers that don't program (i.e they don't have of the proper DLLS already on there). Looking at it purely on how much space the total program, DLLs and all, would either option be more space-efficient?