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

Author Topic: Loading problem...  (Read 1129 times)

0 Members and 1 Guest are viewing this topic.

Christopher Jozwiak

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Blog
    • Email
Loading problem...
« on: March 21, 2013, 01:14:24 am »
Hello, Once again.

I'm having trouble getting my vs 2012 environment to recognize the files I'm trying to load via sfml.  The code I have www.cjozwiak.com (Just an archive site for my code).  It works fine when I open up my .exe but the debug build gives me could load "arial.ttf and could not load "logo.png".
Noob C++ Programmer.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Loading problem...
« Reply #1 on: March 21, 2013, 07:55:53 am »
Change the working directory in your project settings (section "Debugging"). By default it is the project directory, instead of the executable directory.
Laurent Gomila - SFML developer

Christopher Jozwiak

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Blog
    • Email
Re: Loading problem...
« Reply #2 on: March 21, 2013, 08:04:48 am »
Should have just looked around I guess.  Knew it was something like that..  Thanks.
Noob C++ Programmer.