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

Show Posts

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.


Messages - SortOfAlias

Pages: [1]
1
General / System.dll problem (bear with me please...)
« on: February 13, 2012, 09:12:05 am »
Thanks for the reply. I want to avoid having to copy the library files everytime I start a new project, so I included the path assignment in the environment variables for Windows.
But I will try your suggestion too.

edit...

I've found a nice tutorial on youtube



And the sample with the system clock works now! Anyway, thanks for your help.

2
General / System.dll problem (bear with me please...)
« on: February 12, 2012, 11:38:11 am »
Hi all,

I know this topic was adressed before but I am too stupid I think. I will explain what I have done so far:

1. Installed Code:Blocks

2. unzipped SFML-1.6 into c:\SFML-1.6

3. In Code::Blocks: Global Compiler Settings ->SearchDirectories->Compiler-> c:\SFML-1.6\include

4. Project->BuildOptions->Debug->LinkerSettings->sfml-graphics-d, sfml-window-d, sfml-system-d

5. Project->BuildOptions->Release->sfml-graphics, sfml-window, sfml-system

6. path variable in Windows set to path: c:\SFML-1.6\lib

Typed in the sample code:

Code: [Select]
#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. Thanks in advance for some kind answers.

Pages: [1]
anything