Okay, let me clear a few things up:
- I've compiled for VS 2010, and am dynamically linking.
- I have all the VS 2010 compiled .dlls in the distro dir.
- I have all the VS 2010 compiled .libs linked to the project.
- I am only linking to debug libs in Debug mode, and same for release.
I have tried with both 1.6 and 2.0. I can get everything to compile and run fine, I have my window, and my 3D OpenGL cubes and spheres spinning about contently.
However:When I want to have, say, an sf::Image as a member variable of a class (Engine, in the above picture), and then I call something like... say... LoadFromFile on it, I get an unhandled exception/access violation error when I run the executable.
Please help me somebody, I need to get this working ASAP for my university course and I'm tearing my hair out.
It would do the same thing if it were an sf::RenderWindow I was to have as a member variable.
Please don't moan at me for not searching the forum, or Google, because I assure you I've been searching the net for the past 4 hours straight and I have like 28 tabs open because of it. Yet I haven't fixed my problem.
Thank you.