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

Pages: [1]
1
General / Re: Setting up codeblocks with SFML
« on: August 09, 2014, 09:50:51 pm »
Oh thank you, its working now! I have no idea how the code deviated from the copy paste I did, perhaps an accidental drag n drop. Anyways thank you all for the help!

2
General / Re: Setting up codeblocks with SFML
« on: August 09, 2014, 09:42:42 pm »
Sorry, here is the code :P
#include <SFML/Graphics.hpp>

int main()
{
    int x;
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);

    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
        }

        window.draw(shape);
        window.clear();
        window.display();
    }

    return 0;
}
 

3
General / Re: Setting up codeblocks with SFML
« on: August 09, 2014, 08:58:14 pm »
Thanks for the reply! I could have sworn I tried that version yesterday and got a huge list of errors, but regardless I'm one step forward now.

There is still a problem. Now I can launch my program, but instead of the green circle, I get this.



Any idea what has gone wrong with it?

Thank you :)

4
General / Setting up codeblocks with SFML
« on: August 09, 2014, 11:10:52 am »
Hello SFML Forum!

I recently wanted to try SFML so I set to work on the tutorial to set up codeblocks with SFML 2.1

I have followed the guide step by step. I can compile, but launching it gave me graphics something .dll is missing. I added the graphics dll to my directory, but now I'm spawning an additional error.

The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library
 ...dir here \sfml-graphics-d-2.dll


So I have no idea what this means. To recap, I dl'd  2.1 GCC 4.7 MinGW (DW2) - 32 bits, and am running the stock code given to test it from the tutorial.

any guidance or help appreciated. Thank you  :)

Pages: [1]
anything