0 Members and 1 Guest are viewing this topic.
main.cpp: In function ‘int main(int, char**)’:main.cpp:157: error: cannot declare variable ‘boy’ to be of abstract type ‘sftools::Animated’animated.hpp:66: note: because the following virtual functions are pure within ‘sftools::Animated’:/usr/local/include/SFML/Graphics/Drawable.hpp:344: note: virtual void sf::Drawable::Render(sf::RenderTarget&, sf::Renderer&) constmain.cpp:158: error: ‘class sftools::Animated’ has no member named ‘SetCenter’animated.cpp: In member function ‘virtual void sftools::Animated::Render(sf::RenderTarget&) const’:animated.cpp:214: error: ‘const class sf::IntRect’ has no member named ‘GetWidth’animated.cpp:215: error: ‘const class sf::IntRect’ has no member named ‘GetHeight’animated.cpp:228: error: ‘GL_QUADS’ was not declared in this scopeanimated.cpp:228: error: ‘glBegin’ was not declared in this scopeanimated.cpp:229: error: ‘glTexCoord2f’ was not declared in this scopeanimated.cpp:230: error: ‘glVertex2f’ was not declared in this scopeanimated.cpp:240: error: ‘glEnd’ was not declared in this scopeanimated.cpp:245: error: ‘GL_TEXTURE_2D’ was not declared in this scopeanimated.cpp:245: error: ‘glDisable’ was not declared in this scopeanimated.cpp:248: error: ‘GL_QUADS’ was not declared in this scopeanimated.cpp:248: error: ‘glBegin’ was not declared in this scopeanimated.cpp:249: error: ‘glVertex2f’ was not declared in this scopeanimated.cpp:253: error: ‘glEnd’ was not declared in this scope
Include the respective libraries. You aren't do that.