Hi,
I'm having problem compiling any of the shapes from sf::Shape...
when I try to compile the following line:
sf::Shape * _shape = new sf::Shape::Rectangle(v1, v2, sf::Color(0,0,0,255), 0, sf::Color(0,0,0,255));
the compiler (VS2008) says: error C2061: syntax error : identifier 'Rectangle'
I also included:
#pragma comment(lib,"sfml-window-d")
#pragma comment(lib,"sfml-system-d")
#pragma comment(lib,"sfml-main-d")
#pragma comment(lib,"sfml-graphics-d")
#include <SFML/Graphics.hpp>
#include <SFML/Graphics/Shape.hpp>
Any ideas?
Thanks.