SFML community forums

Help => General => Topic started by: Spellbreaker on August 06, 2010, 04:46:27 pm

Title: Sleep(float) in Window.cpp
Post by: Spellbreaker on August 06, 2010, 04:46:27 pm
Hey there.

I really don't know why, but for some reason, I keep getting the following Error since a few days, when Linking the Project:

Window/Window.cpp Line 360:

extlibs\SFML\lib\win32\libsfml-window-s-d.a(Window.o)||In function `ZN2sf6Window7DisplayEv':|
C:\Users\Spellbreaker\Documents\C++ Projects\SFML-1.6\src\SFML\Window\Window.cpp|360|undefined reference to `sf::Sleep(float)'|
||=== Build finished: 1 errors, 0 warnings ===|


I really have no Idea why that happens suddenly, the project kept linking perfectly few days Ago. No matter if I try to link Linux or Win32 Executable.

I am using Code::Blocks 10.05 with MingW 3.4.5 on Windows,
and Code::Blocks 10.05 with GCC 4.4 on Linux.

Using SFML 1.6.

Thanks in advance,

Spellbreaker
Title: Sleep(float) in Window.cpp
Post by: Mindiell on August 06, 2010, 04:50:42 pm
SFML_DYNAMIC ?
Did you change anything (don't say no ;))
Title: Sleep(float) in Window.cpp
Post by: Spellbreaker on August 06, 2010, 04:58:16 pm
Just found the error...Somehow the order of the libraries got messed up. Moved sytem-lib to the end of the list, works again :)


Sorry :D