SFML community forums

Help => General => Topic started by: sirchick on November 06, 2012, 04:15:28 am

Title: I can't setup SFML 2.0
Post by: sirchick on November 06, 2012, 04:15:28 am
I followed the tutorial to the letter but i got errors and am unsure what part i have got incorrectly.

I have the VS++ 2010 version and have added the image of the end result.

(http://i45.tinypic.com/219t9ia.jpg)

Please help me :)

Thanks
Title: Re: I can't setup SFML 2.0
Post by: OniLinkPlus on November 06, 2012, 07:20:52 am
Well first of all, why are you using Winmain? Just use main, Winmain isn't portable or standards compliant.

The problem is that you aren't linking to sfml-graphics or sfml-window.
Title: Re: I can't setup SFML 2.0
Post by: sirchick on November 06, 2012, 07:25:08 am
Well first of all, why are you using Winmain? Just use main, Winmain isn't portable or standards compliant.

The problem is that you aren't linking to sfml-graphics or sfml-window.

I figured out the problem in the end :P I accidently left "all configurations" selected whilst i was setting it up.