I'm trying to get sf::Text value into a std::string with no success.
Here is the line of code :
std::string s = input_text.getString();
Does someone knows why this doesn't work?
It also says something about symbols from sfml-graphics-d-2.dll not being loaded ..
I am getting this error:
Debug assertion failed!
Expression : _pFirstBlock == pHead
If someone has a solution I would be thankfull.
sf::Stringtostd::string._pFirstBlock == pHeadhints at a heap corruption of some sort, perhaps from mismatched versions of the msvcrt. (Either mixing versions, or mixing debug and release.) In fact, here is someone with a similar issue who fixed it by making sure SFML was compiled with the same version of studio as their project.