SFML community forums

Bindings - other languages => General => Topic started by: sharpieMan on April 20, 2017, 12:15:08 pm

Title: Visual Studio EXE + Resources
Post by: sharpieMan on April 20, 2017, 12:15:08 pm
Hey gents,

I was wondering when releasing(when i say release i mean just send it to a friend) a full game built in Visual Studio with SFML, in particular the .exe, is there a way to have the .exe contain all the resources(textures, fonts, etc..)? The only way I have been getting it to work is when Visual Studio generates the .exe in my Debug/Release folder, I have to place my resources folder inside that folder as well with the .exe.

Sorry for the rookie question,
Thanks.
Title: Re: Visual Studio EXE + Resources
Post by: Laurent on April 20, 2017, 12:44:28 pm
This is a common question, have you searched similar posts first?
Title: Re: Visual Studio EXE + Resources
Post by: dassie on September 03, 2017, 08:43:44 am
You need to link against the statically linkable libraries (*-s.lib) - the docs are hella useful.
Title: Re: Visual Studio EXE + Resources
Post by: dassie on September 03, 2017, 08:45:12 am
Thought this was from august, not april. He's long gone by now haha