SFML community forums

Help => Graphics => Topic started by: hunterTR on September 17, 2010, 12:45:46 am

Title: Problem is displaying sprite...
Post by: hunterTR on September 17, 2010, 12:45:46 am
I tried exactly same codes on the tutorial. but I'm getting an error while debug. it seems opening but getting beep,beep sound and this error. and some different things sliding at console.
(http://img42.imageshack.us/img42/7038/helpmewh.jpg)
Title: Problem is displaying sprite...
Post by: hunterTR on September 17, 2010, 12:58:08 am
I fix it.

if anyone getting this error
just change libraries to debug.   "sfml-graphics-d.lib" etc..
Title: Problem is displaying sprite...
Post by: Laurent on September 17, 2010, 08:09:11 am
Quote
if anyone getting this error

... read the tutorial ;)
Title: Problem is displaying sprite...
Post by: hunterTR on September 17, 2010, 10:12:52 am
I think you wrote the tutorials but there is nothing about debug libraries please check it again.
Title: Problem is displaying sprite...
Post by: Hiura on September 17, 2010, 10:15:50 am
Quote from: "Tutorial - Getting started - SFML and Visual Studio"
Important: for the Debug configuration, you have to link with the debug versions of the libraries, which have the "-d" suffix (sfml-system-d.lib in this case). If you don't, you may get undefined behaviours and crashes.
:wink: