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:
---------------------------
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.