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

Author Topic: Sleep(float) in Window.cpp  (Read 2644 times)

0 Members and 1 Guest are viewing this topic.

Spellbreaker

  • Newbie
  • *
  • Posts: 33
    • ICQ Messenger - 287156171
    • MSN Messenger - spellbreaker@live.de
    • Yahoo Instant Messenger - Spellbreaker1979
    • View Profile
    • http://www.apeironstudios.com
Sleep(float) in Window.cpp
« 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

Mindiell

  • Hero Member
  • *****
  • Posts: 1261
    • ICQ Messenger - 41484135
    • View Profile
Sleep(float) in Window.cpp
« Reply #1 on: August 06, 2010, 04:50:42 pm »
SFML_DYNAMIC ?
Did you change anything (don't say no ;))
Mindiell
----

Spellbreaker

  • Newbie
  • *
  • Posts: 33
    • ICQ Messenger - 287156171
    • MSN Messenger - spellbreaker@live.de
    • Yahoo Instant Messenger - Spellbreaker1979
    • View Profile
    • http://www.apeironstudios.com
Sleep(float) in Window.cpp
« Reply #2 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

 

anything