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

Pages: [1]
1
General / Re: Getting started
« on: June 22, 2013, 10:32:42 am »
If I remember correctly, the version of MinGW shipped with Code::Blocks 12.11 requires the TDM (SJLJ) version.


Beautiful!

Thanks for the help everyone

2
General / Re: Getting started
« on: June 22, 2013, 10:23:31 am »


This is the one I downloaded

I don't know how to check my MinGW version

3
General / Re: Getting started
« on: June 22, 2013, 10:15:53 am »
Isn't gcc fussy about the link order? So you would need system/window/graphics rather than graphics/window/system
Comparing my image



To the one in the guide



I have it in the right order.

I tried it in your order in case the guide was wrong, but I still got the same error.

4
General / Re: Getting started
« on: June 22, 2013, 10:05:38 am »
Yeah that's what I thought it was. I uninstalled Code::Blocks and SFML and reinstalled the latest versions.

While typing this, I realized that Chrome might have cached it and I redownloaded and older version.

I'll give it a go in Firefox and see what happens.

Edit:

Still getting it

Code::Blocks 12.11
SFML 2.0

5
General / Getting started
« on: June 22, 2013, 06:44:09 am »
Alright, I really want to get this to work. It looks like a great library that will do everything I want it to do. Unfortunately, I can't seem to get it to start working. Keep in mind, I'm a bit of a novice when it comes to using 3rd party libraries such as this. Specifically, the problem I get is this:

Quote
---------------------------
game.exe - Entry Point Not Found
---------------------------
The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library C:\Users\Meredith\Desktop\codeblocks\game\bin\Debug\sfml-graphics-2.dll.
---------------------------
OK   
---------------------------


I'll walk through how I got there, so maybe someone can catch what I'm doing incorrectly.

I'm using Code::Blocks.

I've been following the guide here: http://sfml-dev.org/tutorials/2.0/start-cb.php. I think I've followed every step, but obviously I must have done something incorrectly.

The script that I'm using is the one in the guide:

#include <SFML/Graphics.hpp>

int main()
{
    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.clear();
        window.draw(shape);
        window.display();
    }

    return 0;
}
 

Here are my linker settings:




Compiler search directory:




Linker search directory:




Project directory:



Executable directory (bin->Debug in the project directory):



SFML's location (to show that I used the proper directory in the linker and compiler thing):



I also thought it would be a good idea to run my program through Dependency Walker. Here is the result:



I have no idea where to go from here.

Pages: [1]
anything