i build libs for debug mode and write that
#include <SFML/Graphics.hpp>
int main()
{
sf::Font Font;
sf::Text Text;
Font.loadFromFile("munro.ttf");
sf::RenderWindow window(sf::VideoMode(300, 300), "SFML TEST");
Text.setString("TEST");
Text.setFont(Font);
Text.setCharacterSize(64);
Text.setColor(sf::Color::White);
Text.setPosition(150, 150);
window.draw(Text);
window.display();
std::getchar();
return 0;
}
in debug mode(libs like sfml-window-d.lib) all works but in release(libs like sfml-window.lib) i have error when setFont.