Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TurbaVladimir

Pages: [1]
1
Graphics / Re: Buffer overflow when Text.setFont
« on: March 14, 2014, 05:27:48 pm »
i tired and just change compiler to vs10.
solution finded ;D

2
Graphics / Re: Buffer overflow when Text.setFont
« on: March 14, 2014, 04:06:17 pm »
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.

3
Graphics / Re: Buffer overflow when Text.setFont
« on: March 14, 2014, 11:48:45 am »
in archive on this link http://yadi.sk/d/Lw2eYpNXKWeGV some screens of my building sfml and how i get error and log of sfml building. if i'm don't use TextDraw function all works good and game starts.

some words in logs and my system are russians. i can translate that if you need.

yadi.sk is russian file transfer service like dropbox :)

4
Graphics / Re: Buffer overflow when Text.setFont
« on: March 14, 2014, 10:57:24 am »
I did that, but I'm use extlibs like glew and others from sfml 2.1 vs10 package.extlibs need to be builded in vs13?if not why can I have this error?

5
Graphics / Buffer overflow when Text.setFont
« on: March 14, 2014, 04:39:39 am »
hi all, i'm have problem. my code work in vs10, but in vs13 debugger say buffer ofverflow when font set to text.i'm compile sfml libs using cmake for vs12 and build project in vs13.i'm not sure but, maybe also need to compile libs for sfml in vc13?

sorry for bad english  :)

Pages: [1]
anything