SFML community forums
Help => General => Topic started by: BorisDieKlinge on February 07, 2009, 08:24:13 pm
-
Hallo :-)
I've got a problem with the sf::Sprite class using the IDE code::blocks 8.02.
When I compile the graphics-sprite.cpp i downloaded from the tutorial the following error will appear:
main.cpp: variable 'vtable for sf::Sprite' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
I would be happy if anybody could help me. thx for reading.
BorisDieKlinge
-
You have to define SFML_DYNAMIC if you're using the dynamic version of the SFML libraries. This is explained in the "Getting started" tutorial.
-
Oh thank you ^^
I works. Topic can be closed now.
BorisDieKlinge