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

Author Topic: Visuel c++ 2010  (Read 10769 times)

0 Members and 1 Guest are viewing this topic.

blewisjr

  • Newbie
  • *
  • Posts: 23
    • View Profile
Visuel c++ 2010
« Reply #15 on: December 29, 2009, 03:38:23 am »
#include <SFML/Window.hpp>

Not sure if that is causing the problem or not but you should be including the window header as well as the Graphics.hpp

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
Visuel c++ 2010
« Reply #16 on: December 29, 2009, 06:49:06 am »
Quote from: "blewisjr"
#include <SFML/Window.hpp>

Not sure if that is causing the problem or not but you should be including the window header as well as the Graphics.hpp
No, SFML/Window.hpp is included by SFML/Graphics.hpp, so he should not be including it himself.
I use the latest build of SFML2

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Visuel c++ 2010
« Reply #17 on: December 29, 2009, 10:05:07 am »
Quote
If you mean what libraries I'm using these :

sfml-graphics-d.lib;sfml-window-d.lib

You don't link to sfml-system?
Laurent Gomila - SFML developer

Xyro

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Visuel c++ 2010
« Reply #18 on: December 29, 2009, 01:12:42 pm »
Just added it but it just keeps giving me the same error, also should I add sfml-main-d ? or just sfml-main (tried with both but still a error)

blewisjr

  • Newbie
  • *
  • Posts: 23
    • View Profile
Visuel c++ 2010
« Reply #19 on: December 30, 2009, 01:14:13 am »
if you are in debug mode use -d.

I am stumped what is the full error the app is generating just Bad Init?

The more detail you give us the better our chances of supplying a solid answer.

Xyro

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Visuel c++ 2010
« Reply #20 on: January 22, 2010, 04:33:22 pm »
http://www.sfml-dev.org/forum/viewtopic.php?p=8576

I tried using this only I get stuck on the first step, I can find my property manager :S

I looked at views->other windows but I couln't find it. Is it because I have the  expres edition.

 

anything