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

Author Topic: Refrencing image.hpp for the definition of sf::RenderWindow  (Read 3036 times)

0 Members and 1 Guest are viewing this topic.

The Floating Brain

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://www.gcggames.webs.com
Refrencing image.hpp for the definition of sf::RenderWindow
« on: February 10, 2012, 04:36:17 am »
<SOLVED>
   I needed to re-install SFML XD.
</SOLVED>
I hope the admin does not mind, but this topic details what I have already done and the problem:
   http://elysianshadows.com/phpBB3/viewtopic.php?f=6&t=6718

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Refrencing image.hpp for the definition of sf::RenderWindow
« Reply #1 on: February 10, 2012, 08:03:57 am »
Do you include <SFML/Graphics.hpp>?
Laurent Gomila - SFML developer

The Floating Brain

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://www.gcggames.webs.com
Refrencing image.hpp for the definition of sf::RenderWindow
« Reply #2 on: February 13, 2012, 05:52:54 am »
Yes, the code has been running for pretty much two years now, I added about 6 files the other day when this happened (that did not even reference sf::RenderWindow). Even if I clean the solution (VS feature) and rebuild without the files I still get the same problem.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Refrencing image.hpp for the definition of sf::RenderWindow
« Reply #3 on: February 13, 2012, 08:13:47 am »
Quote
I added about 6 files the other day when this happened

So if you remove them it works again?
Laurent Gomila - SFML developer

The Floating Brain

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://www.gcggames.webs.com
Refrencing image.hpp for the definition of sf::RenderWindow
« Reply #4 on: February 14, 2012, 03:15:02 am »
Quote from: "Laurent"
Quote
I added about 6 files the other day when this happened

So if you remove them it works again?

My bad I meant to include "and if I remove them it doesn't work" XD

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Refrencing image.hpp for the definition of sf::RenderWindow
« Reply #5 on: February 14, 2012, 08:09:02 am »
Then I think we'll need a minimal and complete code.

http://www.sfml-dev.org/forum/viewtopic.php?p=36368#36368
Laurent Gomila - SFML developer

The Floating Brain

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://www.gcggames.webs.com
Refrencing image.hpp for the definition of sf::RenderWindow
« Reply #6 on: February 14, 2012, 10:19:41 pm »
Quote from: "Laurent"
Then I think we'll need a minimal and complete code.

http://www.sfml-dev.org/forum/viewtopic.php?p=36368#36368


Here is an example of some bugged code and its corresponding error: http://pastebin.com/xGgm1bup

I tried including Window.hpp, different versions of SFML ( -d, -s, ect.)
no luck :-(

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Refrencing image.hpp for the definition of sf::RenderWindow
« Reply #7 on: February 14, 2012, 11:19:20 pm »
This code is useless, nobody can help you with that.

Please read carefully to understand what I mean ;)
http://www.sfml-dev.org/forum/viewtopic.php?p=36368#36368
Laurent Gomila - SFML developer