Before I state my issue, I'm somewhat experienced in the way of C++. I have used SFML little awhile. I have linked, re-compiled, & built the SFML library for Visual Studio 10. I have linked ALL of the library files. I have copied all the .dll files to my project's workspace. I have set up SFML perfectly.
The problem seems to be that my IDE (VC 2010 Express) cannot locate the file (aFile.png). Here's the code (This program was created for the purpose of creating this error. This is all the program is, the main function.):
#include "stdafx.h"
#include <SFML/Graphics.hpp>
using namespace std;
using namespace sf;
int main(int argc, _TCHAR* argv[])
{
Image aImage;
aImage.LoadFromFile("Resources/Graphics/aFile.png");
return 0;
}
There are no compiling or linker errors. I made it a console application & the console prints out text with crazy characters. It says the image cannot load. I've stared at the screen forever. Forever. I've looked in the forums (graphics sections), but to avail. I would appreciate help. Thank you.[/code]