SFML community forums
Help => General => Topic started by: BloodGod on May 25, 2008, 10:02:24 pm
-
Hi there =)
I've just installed VS 2008 Prof. and tried to make a Project with SFML...
Everything works find except, when starting the .exe, this message shows up and the programm terminates:
(http://img354.imageshack.us/img354/8351/unbenanntao8.jpg)
(http://img389.imageshack.us/img389/9900/unbenannt2hi9.jpg)
I try to run this code:
#include "stdafx.h" //stdafx: #include <SFML/System.hpp>
int main()
{
sf::Clock Clock;
while (Clock.GetElapsedTime() < 5.f)
{
std::cout << Clock.GetElapsedTime() << std::endl;
sf::Sleep(0.5f);
}
return 0;
}
Did I forget something? :(
Sincerely,
BloodGod
EDIT:
Ok, I see....I have to build the libs my self! Seems to work now =D.
And again: SFML dominates!
-
Isen't it funny how many times you solve the problems yourself the second after you post at a forum. :) Can't remember how many times I have done that myself.
-
Yup :) I try not to post problems until I've been stuck on them for about a day nowadays... and I still end up solving them about a minute after posting :)
I think it's something to do with the thought process required to articulate the problem. You go through it, then you suddenly realise which step you haven't tried yet and that solves it :)
-
...stuck on them for about a day nowadays... and I still end up solving them about a minute after posting :)
Seems like kind of a wast, don't it? Maybe posting the second the problem arises would be the better approach... :wink:
If you post the solution it may even be useful :)
-
Hello, I had the same problem ago 1 or 2 month (atm of my beginning with sfml). I have copied the Static/Dynamic libs from 2005 (Express) into the lib folder in 2008 (Express). Now, it Works! =D
sry for my bad english^^