I need help with using SFML in Code::Blocks, I have it all set up correctly, and I'm using the tutorial to try and draw a basic window but it's not showing
Here's the code:
#include <SFML/Window.hpp>
int main()
{
// Create the main window
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");
// Start main loop
bool Running = true;
while (Running)
{
App.Display();
}
return EXIT_SUCCESS;
}
I know SFML is set up correctly as the code in this tutorial works perfectly:
http://www.sfml-dev.org/tutorials/1.6/start-cb.phpWhen I run the application I just get the console window:
http://dl.dropbox.com/u/3901038/FP/sfml/SFM2L.JPGI've tried compiling in Debug and Release (using their respective dependencies).
Well when I set it to debug it doesn't seem to reach any breakpoints, it doesn't even reach "int main()", which leads me to believe this is an error with an header file...
Any help on how to go about finding/fixing it?
Also this happens running SFML on VS2008 (using the correct files/tutorials).
Specs:
windows 7 Pro x64
Code::Blocks 10.05
Visual Studio 2008
SFML C++ FULL SDK 1.6
Need anything else just ask.