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

Author Topic: Can't get my project to find my texture(image)  (Read 1224 times)

0 Members and 1 Guest are viewing this topic.

The New Guy

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • Email
Can't get my project to find my texture(image)
« on: June 22, 2012, 09:58:20 pm »
I am having problems loading images, it can't find the file in VS2010. I have the image saved in the project directory, but its a no go. Any ideas?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10916
    • View Profile
    • development blog
    • Email
Re: Can't get my project to find my texture(image)
« Reply #1 on: June 22, 2012, 10:04:33 pm »
Answered you there...

Quote from: eXpl0it3r
If you haven't changed anything in the project settings about this matter, the default working directory would be next to the .vcxproj. This then only works if you run the application from within VS. If you run it via the explorer you need to put the files next to the .exe.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/