I have this bit here:
#include "SFML/Graphics.hpp"
int main(int argc, char** argv)
{
sf::RenderWindow App(sf::VideoMode(550, 400, 32), "Testing!");
while (App.IsOpened() == true)
{
sf::Event event;
while (App.GetEvent(event))
{
switch (event.Type)
{
case sf::Event::Closed:
App.Close();
break;
}
}
App.Clear();
App.Display();
}
return EXIT_SUCCESS;
}
I'm compiling with:
g++ -o program main.cpp -lsfml-graphics -lsfml-window
Whenever I attempt to open "program" from the CLI, nothing is opened! I read that 1.6 doesn't work with ATI graphics cards, however I'm able to view all of the precompiled examples in the "samples" directory. I have an nVidia GPU on my desktop, I'll give that a shot too.
Thanks for any help!