Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Visual Studio EXE + Resources  (Read 6314 times)

0 Members and 1 Guest are viewing this topic.

sharpieMan

  • Newbie
  • *
  • Posts: 1
    • View Profile
Visual Studio EXE + Resources
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Visual Studio EXE + Resources
« Reply #1 on: April 20, 2017, 12:44:28 pm »
This is a common question, have you searched similar posts first?
Laurent Gomila - SFML developer

dassie

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Visual Studio EXE + Resources
« Reply #2 on: September 03, 2017, 08:43:44 am »
You need to link against the statically linkable libraries (*-s.lib) - the docs are hella useful.

dassie

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Visual Studio EXE + Resources
« Reply #3 on: September 03, 2017, 08:45:12 am »
Thought this was from august, not april. He's long gone by now haha

 

anything