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

Pages: [1]
1
General / Re: Installation with Code::Blocks
« on: September 06, 2012, 04:34:15 pm »
The SFML installation guide.

Okay, I will have a look now. Thanks for all your help, really appreciate it.

I can only apologise for my incompetence ;)

Andy

2
General / Re: Installation with Code::Blocks
« on: September 06, 2012, 04:28:26 pm »
Thanks for the quick reply and information, I have version 10.05 of Code::Blocks.

I see where the problem could possibly lie. Using the guide, I downloaded MinGW with GCC 4.4. I simply deleted the old MinGW and replaced it with the new, is this correct?

I now realise this is more of a Code::Blocks problem and I should be on another forum, but seeing as we are here and Google seems to make everything worse at the moment... I may as well ask.

Andy

3
General / Installation with Code::Blocks
« on: September 06, 2012, 04:07:00 pm »
Hi,

I am a bit of a newbie to coding and have been trying to 'install' sfml in conjunction with Code::Blocks.

I followed the guide word for word and when I try to compile the example code (below) it doesn't work:

#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;
}

Error is: "SFML - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.

Any help would be greatly appreciated

Andy

Pages: [1]