Hello,
I'm currently trying to build the CSFML master branch on linux. But I get the following error:
[ 46%] Building CXX object src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/RenderTexture.cpp.o
In file included from /home/sven/Downloads/CSFML-master/src/SFML/Graphics/RenderTexture.cpp:32:0:
/home/sven/Downloads/CSFML-master/src/SFML/Graphics/ShapeStruct.h:54:26: Fehler: in Konflikt stehenden Rückgabetyp für »virtual unsigned int sfShapeImpl::getPointCount() const« angegeben
virtual unsigned int getPointCount() const
^
In file included from /home/sven/Downloads/CSFML-master/src/SFML/Graphics/ShapeStruct.h:32:0,
from /home/sven/Downloads/CSFML-master/src/SFML/Graphics/RenderTexture.cpp:32:
/usr/local/include/SFML/Graphics/Shape.hpp:196:25: Fehler: »virtual std::size_t sf::Shape::getPointCount() const« wird überschrieben
virtual std::size_t getPointCount() const = 0;
^
In file included from /home/sven/Downloads/CSFML-master/src/SFML/Graphics/RenderTexture.cpp:32:0:
/home/sven/Downloads/CSFML-master/src/SFML/Graphics/ShapeStruct.h:87:25: Fehler: Feld »sfShape::This« kann nicht als vom abstrakten Typ »sfShapeImpl« deklariert werden
sfShapeImpl This;
^
/home/sven/Downloads/CSFML-master/src/SFML/Graphics/ShapeStruct.h:41:7: Anmerkung: denn die folgenden virtuellen Funktionen sind rein innerhalb »sfShapeImpl«:
class sfShapeImpl : public sf::Shape
^
In file included from /home/sven/Downloads/CSFML-master/src/SFML/Graphics/ShapeStruct.h:32:0,
from /home/sven/Downloads/CSFML-master/src/SFML/Graphics/RenderTexture.cpp:32:
/usr/local/include/SFML/Graphics/Shape.hpp:213:22: Anmerkung: virtual sf::Vector2f sf::Shape::getPoint(std::size_t) const
virtual Vector2f getPoint(std::size_t index) const = 0;
^
make[2]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/RenderTexture.cpp.o] Fehler 1
make[1]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/all] Fehler 2
make: *** [all] Fehler 2
[root@localhost CSFML-master
Anyone ideas, why it fails? Thanks for your help.