I used the master-branch in my test (downloaded as ZIP from github).
Now I cloned the master and tried again, same error.
Just to be clear: I can compile the esfml-Projekt using cmake and make, but I cant complie my project using libsfml, throwing:
/usr/local/lib/libsfml-window.so:-1: error: undefined reference to `sf::priv::GlxContext::selectBestVisual(_XDisplay*, unsigned int, sf::ContextSettings const&)'
Minimal example:
#include <sfml/graphics.hpp>
int main()
{
sf::RenderWindow win(sf::VideoMode::getDesktopMode(),"test");
return 0;
}
Compiling with:
g++ -o test main.cpp -lsfml-graphics -lsfml-window -lsfml-system -lEGL -lGLESv1_CM
btw: Is there a reason why you changed the Include-Files from UpperCase to LowerCase?
include/SFML/Graphics.hpp
to
include/sfml/graphics.hpp