Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
I dont have the Clear() function :(
Print
Pages: [
1
]
Author
Topic: I dont have the Clear() function :( (Read 2444 times)
0 Members and 1 Guest are viewing this topic.
Paki Programmer
Newbie
Posts: 31
I dont have the Clear() function :(
«
on:
February 17, 2011, 02:54:37 am »
for some reason i dont have the Clear() function in SFML for VC++ 2010. Does anyone know how to fix this problem??? I cant change the background color without it
Logged
Laurent
Administrator
Hero Member
Posts: 32498
I dont have the Clear() function :(
«
Reply #1 on:
February 17, 2011, 07:40:30 am »
Quote
i dont have the Clear() function
What does this mean? The function is obviously declared, unless you have a very old version of SFML (< 1.4 I think).
Logged
Laurent Gomila - SFML developer
Hiura
SFML Team
Hero Member
Posts: 4321
I dont have the Clear() function :(
«
Reply #2 on:
February 17, 2011, 08:42:38 am »
Or maybe you're using a sf::Window instead of a sf::RenderWindow ? (Juste a guess)
Logged
SFML / OS X developer
Paki Programmer
Newbie
Posts: 31
I dont have the Clear() function :(
«
Reply #3 on:
February 17, 2011, 10:28:14 pm »
yeah you were right lol my mistake. But now i have another question. Do i have to link VC++ to SFML everytime i make a new project???
Logged
Hiura
SFML Team
Hero Member
Posts: 4321
I dont have the Clear() function :(
«
Reply #4 on:
February 17, 2011, 10:36:40 pm »
Yes. You should read a tutorial on that (modular programming) to understand what you're doing. It will be much easier to work with libs afterwards. ;-)
Logged
SFML / OS X developer
Paki Programmer
Newbie
Posts: 31
I dont have the Clear() function :(
«
Reply #5 on:
February 17, 2011, 10:42:31 pm »
well actually i know how to do it...i was just wondering if i had to do it everytime lol. but that sucks -__-
Logged
Hiura
SFML Team
Hero Member
Posts: 4321
I dont have the Clear() function :(
«
Reply #6 on:
February 17, 2011, 10:46:04 pm »
But do you know why you have to do that ?
Anyway, from what I know there is no SFML project-template for VC so you have to do it every time. Or you can create a template maybe. I don't know how VC works.
Logged
SFML / OS X developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
I dont have the Clear() function :(