Hello, I really need help! I'm not really good in programming.
I've been searching for one week! But I really couldn't find any answer.
I followed a tutorial that I found on internet and it works very well on my PC.
I tried to do the exact same thing on my Mac .... and
I'm not gonna show you all my code!
the problem is when I try to insert/extract a STRING from a packet!
std::string text;
packet >> text;
When I try with a "int" or "char" it works perfectly!
On my PC, the string works, so the problem is not from code I guess...
Here's my wonderful error
ld: warning: directory not found for option '-L/usr/local/lib'
Undefined symbols for architecture x86_64:
"sf::Packet::operator>>(std::string&)", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Help please!