SFML community forums

Help => General => Topic started by: e_barroga on October 20, 2008, 08:29:28 pm

Title: Compiling Necessary Libraries into executable
Post by: e_barroga on October 20, 2008, 08:29:28 pm
How do I include the necessary DLL's (sfml-graphics, sfml-system, etc.) into the executable so that they do not need to be included in the working directory?
Title: Compiling Necessary Libraries into executable
Post by: Laurent on October 20, 2008, 08:48:59 pm
You link to the static libraries (suffix -s).
Title: Compiling Necessary Libraries into executable
Post by: e_barroga on October 20, 2008, 09:47:29 pm
Just for clarification:

Instead of linking: -lsfml-system

I would link to: -lsfml-system-s
Title: Compiling Necessary Libraries into executable
Post by: Wizzard on October 21, 2008, 07:11:27 am
Quote from: "e_barroga"
Just for clarification:

Instead of linking: -lsfml-system

I would link to: -lsfml-system-s

Yes. Remember to add the "-s" to every SFML package you use.
Title: Compiling Necessary Libraries into executable
Post by: e_barroga on October 21, 2008, 06:33:31 pm
Thank you for the help.