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 - iceman1992

Pages: [1]
1
General / Re: Question about pixels
« on: July 20, 2012, 01:18:18 pm »
Sorry for the late reply. Thanks everyone  :)

2
General / Re: Question about pixels
« on: July 17, 2012, 07:32:49 pm »
You could have tesred that easily and afaik it's also in the documentation
How can I test that? Thanks for the answer  :)

3
General / Question about pixels
« on: July 17, 2012, 07:11:16 pm »
Is the topleftmost pixel (0,0) or (1,1)?

4
General / Re: Can't get SFML and codeblocks to work
« on: June 28, 2012, 04:43:25 pm »
Okay I got it running. Thank you

5
General / Re: Can't get SFML and codeblocks to work
« on: June 28, 2012, 11:14:04 am »
Oh I see. Sorry about that, I didn't read the part after the code.
Now it compiles OK, but when I run it, it says libgcc_s_dw2-1.dll is missing.
It previously said sfml-system.dll is missing but I copied the file to the directory containing the executable.

6
General / Can't get SFML and codeblocks to work
« on: June 27, 2012, 04:58:47 am »
I followed the installation instructions.
Downloaded SFML 1.6 Full SDK, copied the include and lib folders to codeblocks' mingw include and lib folders.
And then I tried compiling the example 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;
}
Then I get errors :
Line 6   undefined reference to 'sf::Clock::Clock()'
Line 9   undefined reference to 'sf::Clock::GetElapsedTime() const'
Line 10 undefined reference to 'sf::Sleep(float)'
Line 7   undefined reference to 'sf::Clock::GetElapsedTime() const'

What did I do wrong?
My OS is Win7 Ultimate 64 bit, with CodeBlocks 10.05

Pages: [1]