I'm learning Socket Programming and I've been Stuck on creating the packets. This isn't even my code it's from the SFML github wiki. My SFML library config is correct because I can make GUIs without error.While Compiling this code I get the errors:
undefined reference to 'sf::IPAddress::IpAddres(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&0'
undefined reference to 'sf::Packet::operator <<(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&0'
undefined reference to 'sf::Packet::operator>>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&0'