Can't really tell why that happens, since this:
App.Create((sf::VideoMode(800, 600, 32), "Asteroid Dodger");
Should work well, maybe just for the sake of it, but can you give a bigger piece of code, maybe we could help with a bit more of information.
init.h
#include "SFML/Window.hpp"
#include "SFML/Graphics.hpp"
#include "SFML/System.hpp"
class init
{
public:
init();
private:
sf::View view;
sf::RenderWindow App;//(sf::VideoMode(800, 600, 32), "Asteroid Dodger");
}
init.cpp
#include "init.h"
init::init()
{
//(sf::VideoMode(800, 600, 32), "Asteroid Dodger");
App.Create((sf::VideoMode(800, 600, 32), "Asteroid Dodger");
//view(sf::FloatRect(0.0f, 0.0f, App.GetWidth() + 0.0f, App.GetHeight() + 0.0f));
view.SetFromRect(sf::FloatRect(0.0f, 0.0f, App.GetWidth() + 0.0f, App.GetHeight() + 0.0f));
App.SetView(view);
}