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

Author Topic: LoadFromFile with VS 2010  (Read 1034 times)

0 Members and 1 Guest are viewing this topic.

mouch

  • Newbie
  • *
  • Posts: 2
    • View Profile
LoadFromFile with VS 2010
« on: January 07, 2013, 02:31:19 pm »
Hi,

VS don't find my resources directory.
Here is my folder hierarchy :

trunk:
-------->Graphics
--------------------->resources
-------->Project (VS files)
--------------------->Debug

I found a piece of answer on this thread http://en.sfml-dev.org/forums/index.php?topic=8781.0. But it looks like it didn't work the same with me.

Any solution ?
« Last Edit: January 07, 2013, 02:41:17 pm by mouch »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11029
    • View Profile
    • development blog
    • Email
Re: LoadFromFile with VS 2010
« Reply #1 on: January 07, 2013, 02:41:39 pm »
You can change the working directory to where you've got your resource (Project->Settings->Debug) or you could place the resource to the current working directory (next to the project file).
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/