I've recently started using SFML and I encountered an error whilst trying to use sf::String.
When I declare an sf::String and run the program it exits with an unhandled exception:
Unhandled exception at 0x6973c200 in Test.exe: 0xC0000005: Access violation reading location 0x00ed0654.
I have tracked this bug down the declaration of an sf::String, a minimal example that produces the same error is below.
#include <SFML/Graphics.hpp>
int main()
{
sf::String MyString;
return EXIT_SUCCESS;
}
Linker input:
sfml-graphics-d.lib
sfml-main-d.lib
sfml-system-d.lib
sfml-window-d.lib
SFML_DYNAMIC in the Preprocessor Definitions.
sfml-graphics-d.dll,
sfml-system-d.dll and
sfml-window-d.dll in the executable folder.
I'm using SFML 1.5. I can provide any more information if necessary. Any ideas, anyone?
[Edit]: I'm using Visual Studio 2008, running on Windows XP SP3.