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 - mzg147

Pages: [1]
1
I resolved the problem - copying .dll files from SFML/bin helped.
I am sorry for my bad cooperation.

2
cl /c /I"C:\SFML\SFML-2.2\include" /ZI /W3 /WX- /sdl /Od /Oy- /D _MBCS /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt main.cpp

Version: http://puu.sh/eHEDB/2f8b92705e.png
Dunno if this is up to date.

I posted a class that I was trying to draw using window.draw();

3
Hello. I've encountered a strange problem while compiling my little test program, which was a try to create universal in-game window class, with text and buttons and stuff like that. So I created my class, inherited it from sf::Drawable, overrode virtual function "draw()" and tried to draw my window. Then, I've got this:
http://puu.sh/eGGu3/50b273c438.png
"Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention."
I searched for this error, and everyone who had the same thing was compiling SFML for themselves, from the source (using CMake and wrong calling conventions). I didn't do it, I just downloaded it from the official site, so I wonder if anyone have the same problem.
What's more, when I changed project to SFML 2.1, it built just fine. So maybe the official version is a little broken?
Maybe I haven't changed something when updating 2.1 to 2.2, so I just asking, is anyone have similar problem?
(click to show/hide)

Pages: [1]
anything