Hey
I recently bought a Raspberry Pi 2B and downloaded and succesfully compiled SFML on it.
I can compile this little program using:
g++ sfml.cpp -o sfml -lsfml-system -lsfml-window -lsfml-graphics
#include <iostream>
#include "SFML/Graphics.hpp"
int main()
{
sf::Window window(sf::VideoMode(800,600),"Title");
return 0;
}
But when I try to execute it I get the following Error Message:
Failed to get visual info
Failed to create window
X Error of failed request: BadWindow (invalid Window.parameter)
Major opcode of failed request : 3 (X_GetWindowAttributes)