1
General / Re: Syntax Help
« on: November 11, 2012, 06:45:47 am »
Thanks i'll have a fiddle with it and see what i can do
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.
error C2665: 'sf::VideoMode::VideoMode' : none of the 3 overloads could convert all the argument types
When you set the texture to the sprite, do you reset the texture rect?
sprite.setTexture(tex, true);
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.
main.cpp(1): warning C4627: '#include <SFML/System.hpp>': skipped when looking for precompiled header use
Add directive to 'StdAfx.h' or rebuild precompiled header
main.cpp(2): warning C4627: '#include <iostream>': skipped when looking for precompiled header use
Add directive to 'StdAfx.h' or rebuild precompiled header
main.cpp(13): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source