1
Graphics / Frame, Anim, Animated
« on: March 30, 2010, 03:45:41 pm »
Thx for the answers Works fine now
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Include the respective libraries. You aren't do that.
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&) const
main.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 scope
animated.cpp:228: error: ‘glBegin’ was not declared in this scope
animated.cpp:229: error: ‘glTexCoord2f’ was not declared in this scope
animated.cpp:230: error: ‘glVertex2f’ was not declared in this scope
animated.cpp:240: error: ‘glEnd’ was not declared in this scope
animated.cpp:245: error: ‘GL_TEXTURE_2D’ was not declared in this scope
animated.cpp:245: error: ‘glDisable’ was not declared in this scope
animated.cpp:248: error: ‘GL_QUADS’ was not declared in this scope
animated.cpp:248: error: ‘glBegin’ was not declared in this scope
animated.cpp:249: error: ‘glVertex2f’ was not declared in this scope
animated.cpp:253: error: ‘glEnd’ was not declared in this scope