heres the issue:
#include <SFML/Window.hpp>
////////////////////////////////////////////////////////////
/// Entry point of application
///
/// \return Application exit code
///
////////////////////////////////////////////////////////////
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;
}
when I use this code a cmd line comes up and nothing else happens, I go into the debug/release folder and I can't find an executable even though my compiler (MVS2010) is telling me that it build successfully after a clean build... if I delete
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");
and
App.Display();
which gives:
#include <SFML/Window.hpp>
////////////////////////////////////////////////////////////
/// Entry point of application
///
/// \return Application exit code
///
////////////////////////////////////////////////////////////
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;
}
it runs successfully (I was using breakpoints, when I had that code it didn't even enter main, in this version it enters the loop without issue)
ive followed all of the tutorials down to the dot EXCEPT i have added sfml-window.lib; to the linker input as I was getting linker issues
what can I do?