Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML-1.6 not recognising Image  (Read 1651 times)

0 Members and 1 Guest are viewing this topic.

Taco Sniper

  • Newbie
  • *
  • Posts: 6
    • View Profile
SFML-1.6 not recognising Image
« 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-

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: SFML-1.6 not recognising Image
« Reply #1 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: SFML-1.6 not recognising Image
« Reply #2 on: March 20, 2014, 11:37:47 pm »
You probably didn't include the needed headers. But why don't you use SFML 2?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Taco Sniper

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: SFML-1.6 not recognising Image
« Reply #3 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-

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
Re: SFML-1.6 not recognising Image
« Reply #4 on: March 20, 2014, 11:44:47 pm »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

didii

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: SFML-1.6 not recognising Image
« Reply #5 on: March 20, 2014, 11:47:25 pm »
It isn't that hard ;)

 

anything