SFML community forums

Help => Graphics => Topic started by: Taco Sniper on March 20, 2014, 11:29:23 pm

Title: SFML-1.6 not recognising Image
Post by: Taco Sniper on March 20, 2014, 11:29:23 pm
Hey there,
I have started a project using SFML-1.6 for C++ in VS 2010, and I have come across the problem of Image, Sprite, and RenderWindow all not being deemed as not being a member of sf::. This is very irritating as I have no idea how to resolve the problem, and thus I am here. Hopefully someone here knows how to solve this issue, and I may continue to use SFML without hitch.
Thanks in advance,
-TacoSniper-
Title: Re: SFML-1.6 not recognising Image
Post by: eXpl0it3r on March 20, 2014, 11:37:31 pm
Stop using SFML 1.6 right now. It's very outdated, not supported, has some major issues, lacks a lot of features, etc. ;)

And your question is not clear enough. If you get an error, please provide the full error and don't partially rephrase it in your own words. If the compiler can't find X in the name space sf:: then you probably haven't included the right header file.
Title: Re: SFML-1.6 not recognising Image
Post by: Nexus on March 20, 2014, 11:37:47 pm
You probably didn't include the needed headers. But why don't you use SFML 2?
Title: Re: SFML-1.6 not recognising Image
Post by: Taco Sniper on March 20, 2014, 11:43:15 pm
Thanks for the help guys,
I think I will start using SFML 2 as it seems a lot better than 1.6.
Hopefully I can find a good tutorial on it first though,
Thanks again,
-TacoSniper-
Title: Re: SFML-1.6 not recognising Image
Post by: eXpl0it3r on March 20, 2014, 11:44:47 pm
Uhm maybe this list right here (http://www.sfml-dev.org/tutorials/2.1/)? :D
Title: Re: SFML-1.6 not recognising Image
Post by: didii on March 20, 2014, 11:47:25 pm
It isn't that hard ;)
(http://s7.postimg.org/8iigxhra3/tutorial.png)