I'm working on my game framework in C++. It is composed of a shared library containing all the features and an executable used to test the features (The executable will eventually become a working game).
The library and executable both compile and link fine, but when I try to execute it, I get this error:
main/bin/debug/main: symbol lookup error: main/bin/debug/main: undefined symbol: _ZN7Survive8Graphics4TwoD6SpriteC1Ev
Survive::Graphics::TwoD::Sprite is a sprite class for 2D images.
I'm wondering, what would cause this error?
Sprite and Graphics2D, a class used to draw to a given Sprite, are both defined in Sprite.hpp and implemented in their respective .cpp files. Could this be a cause of the problem?
Otherwise, what would cause this?
Thanks in advance!







