Hi all,
I have some trouble to get SFML working. I am using the Code::Blocks IDE.
Tried the following:
1. unzipped SFML-1.6 into c:\SFML-1.6
2. In Code::Blocks: Global Compiler Settings ->SearchDirectories->Compiler-> c:\SFML-1.6\include
3. Project->BuildOptions->Debug->LinkerSettings->sfml-graphics-d, sfml-window-d, sfml-system-d
4. Project->BuildOptions->Release->sfml-graphics, sfml-window, sfml-system
5. path variable in Windows set to path: c:\SFML-1.6\lib
Typed in the sample code:
#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;
}
|
Still getting the error message "sfml-system.dll is missing". Static linking gives the same error.
I suppose it is some obvious mistake I am making here, but I hope someone can help.