Hi everyone. I'm just trying to write some text on the screen. From reading the tutorials I'm doing this:
sf::String Lowertext("0", sf::Font::GetDefaultFont(), 50);
and I have #include <SFML/Graphics.hpp> at the top of my file. I'm compiling with -framework sfml-graphics and -framework sfml-window (I'm using OSX).
However, I'm getting the error:
Undefined symbols:
"sf::Unicode::Text::Text(char const*)", referenced from:
flowfield(int, int, int, int, int, Matrix3d&)in flowfield.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
This leads me to think that I'm not including the right package or something, or maybe I need to have another #include..? Could someone point me in the right direction?
Thanks!