1
Graphics / Display a value *Solved*
« on: October 20, 2007, 02:44:31 pm »
Thanks Laurent, thats looks much better
![Smiley :)](https://www.sfml-dev.org/forums/Smileys/default/smiley.gif)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
_itoa(Sprite.GetRotation(), buffer, 10);
String.SetText(buffer);
#include <SFML/System.hpp>
#include <iostream>
int main()
{
sf::Clock Clock;
while (Clock.GetElapsedTime() < 5.f)
{
std::cout << Clock.GetElapsedTime() << std::endl;
sf::Sleep(0.5f);
}
return 0;
}
[size=9]------Build started: Project: SMFL First Test, Configuration: Debug Win32 ------
Linking...
main.obj : error LNK2019: unresolved external symbol "void __cdecl sf::Sleep(float)" (?Sleep@sf@@YAXM@Z) referenced in function _main
main.obj : error LNK2019: unresolved external symbol "public: float __thiscall sf::Clock::GetElapsedTime(void)const " (?GetElapsedTime@Clock@sf@@QBEMXZ) referenced in function _main
main.obj : error LNK2019: unresolved external symbol "public: __thiscall sf::Clock::Clock(void)" (??0Clock@sf@@QAE@XZ) referenced in function _main
C:\SFML\Projekt\SMFL First Test\Debug\SMFL First Test.exe : fatal error LNK1120: 3 unresolved externals
Build log was saved at "file://c:\SFML\Projekt\SMFL First Test\SMFL First Test\Debug\BuildLog.htm"
SMFL First Test - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========[/size]